From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.13]) (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 CF59E1A3160 for ; Sat, 13 Dec 2025 13:47:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.13 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765633668; cv=none; b=OqNuDNghQLuVd7hr9YSVxU28pMUsIG70NF87k74mxzTgTRJNsTO+Va2moxGJ9DZHV0v5W0/trLwViJDjQP/bzLNVuaplykeHI1siPjndf42qzuo2loArejv9X2Hy+zGhS6fMeF7i6UB5nKKw2UGfZ//YiQPEOa+0VRAF6mGQqr8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765633668; c=relaxed/simple; bh=EXXtrjoSYcBEnrMVRjT4FcIEw66glPamVBc0EDCK67c=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=bo8wnGMsQxEHNlsQN/W9sskxp/DcXN3HK5SLiHQeJDbsYilaeJqx1dFUCgmVgNZNKTiQ4S5i6QIMo7t+J2x5HQiYsmKv0hvjtxpr8n2qdJwdGBJaZvfPNXb1AwzBLe1eVyMRAggQkiTaVfUj1KBYEuS8xfKOgIjb//urJrhcKzY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=EQEqSnUE; arc=none smtp.client-ip=192.198.163.13 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="EQEqSnUE" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1765633667; x=1797169667; h=date:from:to:cc:subject:message-id:mime-version; bh=EXXtrjoSYcBEnrMVRjT4FcIEw66glPamVBc0EDCK67c=; b=EQEqSnUELyrjkjJLtM9KT3uyMIMtZtkf0zlRfcwWW35Cpvk2f1KuHUez U6YPe+xke7Q5CfATMf1iTqzCdBvjIrMDrg67B0a7jloHCfvfEnkx6KmY0 8nhVlj0oicLLqqto3SyQL06fmDnXDb30xoem7egXmuyuQsb9HV43JWtxF p0c/+EG9mmRai/cPWa5fW6+Dwh3QZ+cxKccwx/uFzxZ6//hgfcpfOzj5s m8VE+XYjU8ASp9uT24ZDUOnctpg6YS9krlPa6qYavL0BI4ncU0A2DQu1x DLGVo4I04Yrg/5eiJAisuT+e3vaZsfm2iLo39ugTzgK2J3vDZLpIrDHL4 g==; X-CSE-ConnectionGUID: M+zDfstVTw6TR6ovVuVf5w== X-CSE-MsgGUID: R4gPBEtKTBeW6ddz/Ng5XQ== X-IronPort-AV: E=McAfee;i="6800,10657,11641"; a="70193103" X-IronPort-AV: E=Sophos;i="6.21,146,1763452800"; d="scan'208";a="70193103" Received: from fmviesa010.fm.intel.com ([10.60.135.150]) by fmvoesa107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Dec 2025 05:47:46 -0800 X-CSE-ConnectionGUID: KtRMz9kJR9urWzvZkaOwtA== X-CSE-MsgGUID: 94+9WtRSSiqCMQRac8ZigQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.21,146,1763452800"; d="scan'208";a="198145268" Received: from lkp-server01.sh.intel.com (HELO d335e3c6db51) ([10.239.97.150]) by fmviesa010.fm.intel.com with ESMTP; 13 Dec 2025 05:47:45 -0800 Received: from kbuild by d335e3c6db51 with local (Exim 4.98.2) (envelope-from ) id 1vUPyI-000000007hB-40sp; Sat, 13 Dec 2025 13:47:42 +0000 Date: Sat, 13 Dec 2025 21:47:38 +0800 From: kernel test robot To: "Gustavo A. R. Silva" Cc: oe-kbuild-all@lists.linux.dev, "Gustavo A. R. Silva" , LKML Subject: [gustavoars:testing/wfamnae-next20251212 21/21] kernel/bpf/core.c:2624:29: sparse: sparse: incompatible types in comparison expression (different base types): Message-ID: <202512132156.6jTMbPEC-lkp@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline tree: https://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux.git testing/wfamnae-next20251212 head: c3cc47915438797b3342f426772472b7c3dee6df commit: c3cc47915438797b3342f426772472b7c3dee6df [21/21] treewide_some: fix multiple -Wfamnae warnings that must be audited separately config: s390-randconfig-r112-20251213 (https://download.01.org/0day-ci/archive/20251213/202512132156.6jTMbPEC-lkp@intel.com/config) compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project 1335a05ab8bc8339ce24be3a9da89d8c3f4e0571) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251213/202512132156.6jTMbPEC-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/202512132156.6jTMbPEC-lkp@intel.com/ sparse warnings: (new ones prefixed by >>) kernel/bpf/core.c:250:49: sparse: sparse: arithmetics on pointers to functions kernel/bpf/core.c:2037:43: sparse: sparse: arithmetics on pointers to functions kernel/bpf/core.c:2042:48: sparse: sparse: arithmetics on pointers to functions kernel/bpf/core.c:2363:77: sparse: sparse: subtraction of functions? Share your drugs >> kernel/bpf/core.c:2624:29: sparse: sparse: incompatible types in comparison expression (different base types): kernel/bpf/core.c:2624:29: sparse: struct bpf_prog_array * kernel/bpf/core.c:2624:29: sparse: struct bpf_prog_array_hdr * kernel/bpf/core.c: note: in included file (through include/trace/trace_events.h, include/trace/define_trace.h, include/trace/events/xdp.h, ...): include/trace/events/xdp.h:304:1: sparse: sparse: Using plain integer as NULL pointer include/trace/events/xdp.h:331:1: sparse: sparse: Using plain integer as NULL pointer kernel/bpf/core.c: note: in included file (through include/linux/rbtree_latch.h, include/linux/bpf.h, include/linux/filter.h): include/linux/rbtree.h:102:9: sparse: sparse: incompatible types in comparison expression (different address spaces): include/linux/rbtree.h:102:9: sparse: struct rb_node [noderef] __rcu * include/linux/rbtree.h:102:9: sparse: struct rb_node * include/linux/rbtree.h:102:9: sparse: sparse: incompatible types in comparison expression (different address spaces): include/linux/rbtree.h:102:9: sparse: struct rb_node [noderef] __rcu * include/linux/rbtree.h:102:9: sparse: struct rb_node * vim +2624 kernel/bpf/core.c 8c7dcb84e3b744 Delyan Kratunov 2022-06-14 2621 8c7dcb84e3b744 Delyan Kratunov 2022-06-14 2622 void bpf_prog_array_free_sleepable(struct bpf_prog_array *progs) 8c7dcb84e3b744 Delyan Kratunov 2022-06-14 2623 { 8c7dcb84e3b744 Delyan Kratunov 2022-06-14 @2624 if (!progs || progs == &bpf_empty_prog_array.hdr) 8c7dcb84e3b744 Delyan Kratunov 2022-06-14 2625 return; 8c7dcb84e3b744 Delyan Kratunov 2022-06-14 2626 call_rcu_tasks_trace(&progs->rcu, __bpf_prog_array_free_sleepable_cb); 8c7dcb84e3b744 Delyan Kratunov 2022-06-14 2627 } 8c7dcb84e3b744 Delyan Kratunov 2022-06-14 2628 :::::: The code at line 2624 was first introduced by commit :::::: 8c7dcb84e3b744b2b70baa7a44a9b1881c33a9c9 bpf: implement sleepable uprobes by chaining gps :::::: TO: Delyan Kratunov :::::: CC: Alexei Starovoitov -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki