From: kernel test robot <lkp@intel.com>
To: Chengfeng Ye <nicoyip.dev@gmail.com>,
Allison Henderson <achender@kernel.org>,
"David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@google.com>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
Simon Horman <horms@kernel.org>,
Santosh Shilimkar <santosh.shilimkar@oracle.com>,
Ka-Cheong Poon <ka-cheong.poon@oracle.com>,
Dan Carpenter <error27@gmail.com>
Cc: oe-kbuild-all@lists.linux.dev, netdev@vger.kernel.org,
linux-rdma@vger.kernel.org, rds-devel@oss.oracle.com,
linux-kernel@vger.kernel.org,
Chengfeng Ye <nicoyip.dev@gmail.com>,
stable@vger.kernel.org
Subject: Re: [PATCH] rds: synchronize info callbacks with connection teardown
Date: Fri, 14 Aug 2026 01:20:57 +0800 [thread overview]
Message-ID: <202608140151.MOvRf1jc-lkp@intel.com> (raw)
In-Reply-To: <20260720184955.3008978-1-nicoyip.dev@gmail.com>
Hi Chengfeng,
kernel test robot noticed the following build warnings:
[auto build test WARNING on net/main]
[also build test WARNING on linus/master horms-ipvs/master v7.2-rc7]
[cannot apply to net-next/main next-20260812]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Chengfeng-Ye/rds-synchronize-info-callbacks-with-connection-teardown/20260812-225931
base: net/main
patch link: https://lore.kernel.org/r/20260720184955.3008978-1-nicoyip.dev%40gmail.com
patch subject: [PATCH] rds: synchronize info callbacks with connection teardown
config: mips-randconfig-r134-20260813 (https://download.01.org/0day-ci/archive/20260814/202608140151.MOvRf1jc-lkp@intel.com/config)
compiler: mips-linux-gcc (GCC) 11.5.0
sparse: v0.6.5-rc1
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260814/202608140151.MOvRf1jc-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 <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202608140151.MOvRf1jc-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> net/rds/info.c:83:9: sparse: sparse: cast removes address space '__rcu' of expression
>> net/rds/info.c:83:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
net/rds/info.c:83:9: sparse: void ( [noderef] __rcu * )( ... )
net/rds/info.c:83:9: sparse: void ( * )( ... )
net/rds/info.c:84:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
net/rds/info.c:84:9: sparse: void ( [noderef] __rcu * )( ... )
net/rds/info.c:84:9: sparse: void ( * )( ... )
net/rds/info.c:96:9: sparse: sparse: cast removes address space '__rcu' of expression
net/rds/info.c:96:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
net/rds/info.c:96:9: sparse: void ( [noderef] __rcu * )( ... )
net/rds/info.c:96:9: sparse: void ( * )( ... )
net/rds/info.c:97:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
net/rds/info.c:97:9: sparse: void ( [noderef] __rcu * )( ... )
net/rds/info.c:97:9: sparse: void ( * )( ... )
net/rds/info.c:222:16: sparse: sparse: cast removes address space '__rcu' of expression
net/rds/info.c:222:16: sparse: sparse: incompatible types in comparison expression (different address spaces):
net/rds/info.c:222:16: sparse: void ( [noderef] __rcu * )( ... )
net/rds/info.c:222:16: sparse: void ( * )( ... )
vim +/__rcu +83 net/rds/info.c
75
76 void rds_info_register_func(int optname, rds_info_func func)
77 {
78 int offset = optname - RDS_INFO_FIRST;
79
80 BUG_ON(optname < RDS_INFO_FIRST || optname > RDS_INFO_LAST);
81
82 spin_lock(&rds_info_lock);
> 83 BUG_ON(rcu_access_pointer(rds_info_funcs[offset]));
84 rcu_assign_pointer(rds_info_funcs[offset], func);
85 spin_unlock(&rds_info_lock);
86 }
87 EXPORT_SYMBOL_GPL(rds_info_register_func);
88
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
prev parent reply other threads:[~2026-08-13 17:21 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-20 18:49 [PATCH] rds: synchronize info callbacks with connection teardown Chengfeng Ye
2026-07-23 4:20 ` Allison Henderson
2026-07-23 16:00 ` Chengfeng Ye
2026-07-27 17:48 ` [PATCH net-next v2] rds: synchronize info callbacks with module unload Chengfeng Ye
2026-07-28 21:43 ` Allison Henderson
2026-07-30 9:55 ` Paolo Abeni
2026-07-30 17:19 ` Allison Henderson
2026-07-30 10:01 ` Paolo Abeni
2026-07-30 10:28 ` Chengfeng Ye
2026-08-13 17:20 ` kernel test robot [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202608140151.MOvRf1jc-lkp@intel.com \
--to=lkp@intel.com \
--cc=achender@kernel.org \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=error27@gmail.com \
--cc=horms@kernel.org \
--cc=ka-cheong.poon@oracle.com \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rdma@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=nicoyip.dev@gmail.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=pabeni@redhat.com \
--cc=rds-devel@oss.oracle.com \
--cc=santosh.shilimkar@oracle.com \
--cc=stable@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox