From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-6.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by gnuweeb.org (Postfix) with ESMTPS id 1FFAD83162 for ; Thu, 23 Feb 2023 14:14:46 +0000 (UTC) Authentication-Results: gnuweeb.org; dkim=pass (1024-bit key; unprotected) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=YA96T9m5; dkim-atps=neutral Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 2BD49B81A32; Thu, 23 Feb 2023 14:14:43 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 98D62C433D2; Thu, 23 Feb 2023 14:14:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1677161681; bh=U424HFE2d9+blKr+2QZgF0GS4aFZVKNHKUFchfOFvzg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=YA96T9m5qRIiZqUb/tb+ln+dVRbemOlI2bp9Rya7CdvodphnCJBVE3xurCyBoVu7X umWxdxUdDZ1vA/JM/0BAaLLGtCFgQc2w+qog/S6qma0PtL2OzW3xu7fBoeCnBilJuf cdE7MFtSyKmb78+6NO+oatXRfgcchZF/jWXA1qwg= Date: Thu, 23 Feb 2023 15:14:39 +0100 From: Greg Kroah-Hartman To: Ammar Faizi Cc: kernel test robot , Dave Hansen , llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, GNU/Weeb Mailing List , Sasha Levin , Thomas Gleixner Subject: Re: [ammarfaizi2-block:stable/linux-stable-rc/queue/5.4 15/15] kernel/bpf/core.c:1570:3: error: implicit declaration of function 'barrier_nospec' Message-ID: References: <202302232136.AWzwjCvb-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: On Thu, Feb 23, 2023 at 08:49:02PM +0700, Ammar Faizi wrote: > On Thu, Feb 23, 2023 at 09:31:08PM +0800, kernel test robot wrote: > > tree: https://github.com/ammarfaizi2/linux-block stable/linux-stable-rc/queue/5.4 > > commit: 3bb990ea37595b41a1f06a551e5dd35372ea404a [15/15] uaccess: Add speculation barrier to copy_from_user() > ... > > If you fix the issue, kindly add following tag where applicable > > | Reported-by: kernel test robot > > | Link: https://lore.kernel.org/oe-kbuild-all/202302232136.AWzwjCvb-lkp@intel.com/ > > > > All errors (new ones prefixed by >>): > > > > >> kernel/bpf/core.c:1570:3: error: implicit declaration of function 'barrier_nospec' [-Werror,-Wimplicit-function-declaration] > > barrier_nospec(); > > ^ > > 1 error generated. > > It's missing #include . The fix for this is: > > Upstream f3dd0c53370e70c0f9b7e931bbec12916f3bb8cc ("bpf: add missing header file include") > > That one needs to get backported too. Or just fold that in to maintain > the bisectability (for stable kernels). Thanks, now queued up, I missed that follow-on patch. greg k-h