From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0CDAAC138 for ; Wed, 19 Jul 2023 12:28:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1689769734; x=1721305734; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=IcTTW9MzHA3dLv+4zOhAn1n5b9qmDx+UEeYzNqtXSD0=; b=Lp11AZJtvpKquPzk4WgADtfaeFQOofVARpisz32ce5roxROOmztwChOT NYi6vSmmn3Skb0pH+9yB7PjQUeTkNQeXs2PF3wSURXf+GofCzxYAKIpMn Ue9sGRTQ6rMCzMi2UemYV2pMq33frohPOU5+R6WbpHdF2uIpkWxGN5Yvy 7CuhLFYH0+DbMoh3B3nvYIDM9oozbkfZUES54r2MhEu/QqADaCCT64h1X /EXYVJLOdfdbhXeqoIM1+MeIwpWwDTKSQvQuFzuqJ049Ohiv24OYjLMt7 Myg/9/KkAJepUfgROfooTFwCX5kk6CuYTyCXWOTeEcXL4d1eLqxRF05qd Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10776"; a="363905414" X-IronPort-AV: E=Sophos;i="6.01,216,1684825200"; d="scan'208";a="363905414" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Jul 2023 05:28:43 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10776"; a="727282795" X-IronPort-AV: E=Sophos;i="6.01,216,1684825200"; d="scan'208";a="727282795" Received: from lkp-server02.sh.intel.com (HELO 36946fcf73d7) ([10.239.97.151]) by fmsmga007.fm.intel.com with ESMTP; 19 Jul 2023 05:28:42 -0700 Received: from kbuild by 36946fcf73d7 with local (Exim 4.96) (envelope-from ) id 1qM6IL-0004nD-0t; Wed, 19 Jul 2023 12:28:41 +0000 Date: Wed, 19 Jul 2023 20:28:01 +0800 From: kernel test robot To: Dave Marchevsky Cc: oe-kbuild-all@lists.linux.dev Subject: Re: [PATCH v2 bpf-next 3/6] bpf: Add 'owner' field to bpf_{list,rb}_node Message-ID: <202307192025.5vigLEcy-lkp@intel.com> References: <20230718083813.3416104-4-davemarchevsky@fb.com> Precedence: bulk X-Mailing-List: oe-kbuild-all@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230718083813.3416104-4-davemarchevsky@fb.com> Hi Dave, kernel test robot noticed the following build warnings: [auto build test WARNING on bpf-next/master] url: https://github.com/intel-lab-lkp/linux/commits/Dave-Marchevsky/Revert-bpf-Disable-bpf_refcount_acquire-kfunc-calls-until-race-conditions-are-fixed/20230718-180801 base: https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git master patch link: https://lore.kernel.org/r/20230718083813.3416104-4-davemarchevsky%40fb.com patch subject: [PATCH v2 bpf-next 3/6] bpf: Add 'owner' field to bpf_{list,rb}_node config: alpha-randconfig-r082-20230716 (https://download.01.org/0day-ci/archive/20230719/202307192025.5vigLEcy-lkp@intel.com/config) compiler: alpha-linux-gcc (GCC) 12.3.0 reproduce: (https://download.01.org/0day-ci/archive/20230719/202307192025.5vigLEcy-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202307192025.5vigLEcy-lkp@intel.com/ sparse warnings: (new ones prefixed by >>) kernel/bpf/helpers.c: note: in included file (through arch/alpha/include/asm/cmpxchg.h, arch/alpha/include/asm/atomic.h, include/linux/atomic.h, ...): >> arch/alpha/include/asm/xchg.h:234:32: sparse: sparse: cast truncates bits from constant value (eb9f becomes 9f) >> arch/alpha/include/asm/xchg.h:234:32: sparse: sparse: cast truncates bits from constant value (eb9f becomes 9f) kernel/bpf/helpers.c:2419:18: sparse: sparse: context imbalance in 'bpf_rcu_read_lock' - wrong count at exit kernel/bpf/helpers.c:2424:18: sparse: sparse: context imbalance in 'bpf_rcu_read_unlock' - unexpected unlock vim +234 arch/alpha/include/asm/xchg.h a6209d6d71f2ab Ivan Kokshaysky 2009-03-31 227 a6209d6d71f2ab Ivan Kokshaysky 2009-03-31 228 static __always_inline unsigned long a6209d6d71f2ab Ivan Kokshaysky 2009-03-31 229 ____cmpxchg(, volatile void *ptr, unsigned long old, unsigned long new, a6209d6d71f2ab Ivan Kokshaysky 2009-03-31 230 int size) a6209d6d71f2ab Ivan Kokshaysky 2009-03-31 231 { a6209d6d71f2ab Ivan Kokshaysky 2009-03-31 232 switch (size) { a6209d6d71f2ab Ivan Kokshaysky 2009-03-31 233 case 1: a6209d6d71f2ab Ivan Kokshaysky 2009-03-31 @234 return ____cmpxchg(_u8, ptr, old, new); a6209d6d71f2ab Ivan Kokshaysky 2009-03-31 235 case 2: a6209d6d71f2ab Ivan Kokshaysky 2009-03-31 236 return ____cmpxchg(_u16, ptr, old, new); a6209d6d71f2ab Ivan Kokshaysky 2009-03-31 237 case 4: a6209d6d71f2ab Ivan Kokshaysky 2009-03-31 238 return ____cmpxchg(_u32, ptr, old, new); a6209d6d71f2ab Ivan Kokshaysky 2009-03-31 239 case 8: a6209d6d71f2ab Ivan Kokshaysky 2009-03-31 240 return ____cmpxchg(_u64, ptr, old, new); a6209d6d71f2ab Ivan Kokshaysky 2009-03-31 241 } a6209d6d71f2ab Ivan Kokshaysky 2009-03-31 242 __cmpxchg_called_with_bad_pointer(); a6209d6d71f2ab Ivan Kokshaysky 2009-03-31 243 return old; a6209d6d71f2ab Ivan Kokshaysky 2009-03-31 244 } a6209d6d71f2ab Ivan Kokshaysky 2009-03-31 245 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki