On 11/30/26 9:35 PM, kernel test robot wrote:
> Hi Fernando, > > kernel test robot noticed the following build warnings: > > [auto build test WARNING on net-next/main] > > url: https://github.com/intel-lab-lkp/linux/commits/Fernando-Fernandez-Mancera/ipv4-introduce-CONFIG_IPV4-to-decouple-the-IPv4-stack/20261127-181746 > base: net-next/main > patch link: https://lore.kernel.org/r/2026…%40suse.de > patch subject: [PATCH net-next v4 04/16] tcp: move protocol agnostic TCP functions out of tcp_ipv4.c > config: i386-randconfig-2302-20261130 (https://download.01.org/0day-ci/archive/20261130/2026…@intel.com/config) > compiler: clang version 22.1.8 (https://github.com/llvm/llvm-project ca7933e47d3a3451d81e72ac174dcb5aa28b59d1) > sparse: v0.6.5-rc1-21-g84ec0658 > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261130/2026…@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 <l…@intel.com> > | Closes: https://lore.kernel.org/oe-kbuild-all/2026…@intel.com/ > > sparse warnings: (new ones prefixed by >>)
>>> net/ipv4/tcp.c:6466:41: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const *data @@ got struct tcp_congestion_ops const [noderef] __rcu *tcp_congestion_control @@
> net/ipv4/tcp.c:6466:41: sparse: expected void const *data > net/ipv4/tcp.c:6466:41: sparse: got struct tcp_congestion_ops const [noderef] __rcu *tcp_congestion_control
>>> net/ipv4/tcp.c:6592:45: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const *data @@ got struct tcp_congestion_ops const [noderef] __rcu *extern [addressable] [toplevel] tcp_congestion_control @@
> net/ipv4/tcp.c:6592:45: sparse: expected void const *data > net/ipv4/tcp.c:6592:45: sparse: got struct tcp_congestion_ops const [noderef] __rcu *extern [addressable] [toplevel] tcp_congestion_control
>>> net/ipv4/tcp.c:6596:50: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct tcp_congestion_ops const [noderef] __rcu *tcp_congestion_control @@ got struct tcp_congestion_ops * @@
> net/ipv4/tcp.c:6596:50: sparse: expected struct tcp_congestion_ops const [noderef] __rcu *tcp_congestion_control > net/ipv4/tcp.c:6596:50: sparse: got struct tcp_congestion_ops *
>>> net/ipv4/tcp.c:6467:41: sparse: sparse: dereference of noderef expression >>> net/ipv4/tcp.c:6467:41: sparse: sparse: dereference of noderef expression
> net/ipv4/tcp.c:6593:45: sparse: sparse: dereference of noderef expression > net/ipv4/tcp.c:6593:45: sparse: sparse: dereference of noderef expression >
As mentioned on the cover letter these errors are not introduced by this patch. I would prefer to address them in a follow up patch. Please, let me know if it is preferred otherwise. Thanks, Fernando.