From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6B562C433F5 for ; Fri, 29 Apr 2022 22:35:30 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id E4EB56B0071; Fri, 29 Apr 2022 18:35:29 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id DFE066B0072; Fri, 29 Apr 2022 18:35:29 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id C9DE26B0073; Fri, 29 Apr 2022 18:35:29 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (relay.a.hostedemail.com [64.99.140.24]) by kanga.kvack.org (Postfix) with ESMTP id BC0306B0071 for ; Fri, 29 Apr 2022 18:35:29 -0400 (EDT) Received: from smtpin28.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay02.hostedemail.com (Postfix) with ESMTP id 84CB2288A7 for ; Fri, 29 Apr 2022 22:35:29 +0000 (UTC) X-FDA: 79411374378.28.38DF51C Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by imf29.hostedemail.com (Postfix) with ESMTP id 255E112007C for ; Fri, 29 Apr 2022 22:35:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1651271728; x=1682807728; h=date:from:to:cc:subject:message-id:mime-version; bh=7GIX14AiQKWP9CyC8uIIv8SPou3ILuL8utid5Axi1Ao=; b=N9Y7DV1CylnOPqLmpPc3Y6jszTDo7MbeCymE7M6Lvc5bgqU1cR9S2EAR npPnIBkPNWdHZ/9W9Cl2qCUyrIBzU01Amt7lWh+gYKFUMgJ9sa2ue4yTq KuMdb7iRybmspU/PDNdcBAWTN65eW6reNSK1HFElN25j3Ory4/QTF+pIJ uaI62VqgGgmmblC8Quhyt24xw9s1jnLcRZ9ahrpGQ4MC0yGkx9YDYWWML xW3MfUS0+7Rw7+eoUTAZPMGaHPoQ2B2M+Scei4CmhnBlpsF5zAk8L0K4v JzLJmG9Joo+IuujLmsEoubXctHibUgREV3Dp8VFCwldnvUKW22cFliL2T Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10332"; a="327288427" X-IronPort-AV: E=Sophos;i="5.91,186,1647327600"; d="scan'208";a="327288427" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Apr 2022 15:35:27 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,186,1647327600"; d="scan'208";a="566341183" Received: from lkp-server01.sh.intel.com (HELO 5056e131ad90) ([10.239.97.150]) by fmsmga007.fm.intel.com with ESMTP; 29 Apr 2022 15:35:24 -0700 Received: from kbuild by 5056e131ad90 with local (Exim 4.95) (envelope-from ) id 1nkZCt-0006eF-DV; Fri, 29 Apr 2022 22:35:23 +0000 Date: Sat, 30 Apr 2022 06:34:28 +0800 From: kernel test robot To: Kumar Kartikeya Dwivedi Cc: kbuild-all@lists.01.org, Linux Memory Management List , Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Martin KaFai Lau , Song Liu , Yonghong Song , John Fastabend , KP Singh , netdev@vger.kernel.org, bpf@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [linux-next:master 6297/7959] kernel/bpf/helpers.c:1389:29: sparse: sparse: symbol 'bpf_kptr_xchg_proto' was not declared. Should it be static? Message-ID: <202204300646.B29EmUql-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Stat-Signature: h3ugpyne5gh8bmgyahsg1jo8mpo5usxb X-Rspamd-Server: rspam12 X-Rspamd-Queue-Id: 255E112007C Authentication-Results: imf29.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=N9Y7DV1C; spf=none (imf29.hostedemail.com: domain of lkp@intel.com has no SPF policy when checking 134.134.136.31) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com X-Rspam-User: X-HE-Tag: 1651271724-736102 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 5469f0c06732a077c70a759a81f2a1f00b277694 commit: c0a5a21c25f37c9fd7b36072f9968cdff1e4aa13 [6297/7959] bpf: Allow storing referenced kptr in map config: x86_64-randconfig-s022 (https://download.01.org/0day-ci/archive/20220430/202204300646.B29EmUql-lkp@intel.com/config) compiler: gcc-11 (Debian 11.2.0-20) 11.2.0 reproduce: # apt-get install sparse # sparse version: v0.6.4-dirty # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=c0a5a21c25f37c9fd7b36072f9968cdff1e4aa13 git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git git fetch --no-tags linux-next master git checkout c0a5a21c25f37c9fd7b36072f9968cdff1e4aa13 # save the config file mkdir build_dir && cp config build_dir/.config make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=x86_64 SHELL=/bin/bash kernel/bpf/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot sparse warnings: (new ones prefixed by >>) >> kernel/bpf/helpers.c:1389:29: sparse: sparse: symbol 'bpf_kptr_xchg_proto' was not declared. Should it be static? Please review and possibly fold the followup patch. -- 0-DAY CI Kernel Test Service https://01.org/lkp