Hi Lorenzo, 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/Lorenzo-Bianconi/net-add-generic-per-cpu-page_pool-allocator/20240128-222506 base: net-next/main patch link: https://lore.kernel.org/r/5b0222d3df382c22fe0fa96154ae7b27189f7ecd.1706451150.git.lorenzo%40kernel.org patch subject: [PATCH v6 net-next 1/5] net: add generic per-cpu page_pool allocator config: sparc-randconfig-r123-20240129 (https://download.01.org/0day-ci/archive/20240129/202401291436.jz59b9EZ-lkp@xxxxxxxxx/config) compiler: sparc-linux-gcc (GCC) 13.2.0 reproduce: (https://download.01.org/0day-ci/archive/20240129/202401291436.jz59b9EZ-lkp@xxxxxxxxx/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@xxxxxxxxx> | Closes: https://lore.kernel.org/oe-kbuild-all/202401291436.jz59b9EZ-lkp@xxxxxxxxx/ sparse warnings: (new ones prefixed by >>) >> net/core/dev.c:447:1: sparse: sparse: symbol '__pcpu_scope_page_pool' was not declared. Should it be static? net/core/dev.c:3352:23: sparse: sparse: incorrect type in argument 4 (different base types) @@ expected restricted __wsum [usertype] csum @@ got unsigned int @@ net/core/dev.c:3352:23: sparse: expected restricted __wsum [usertype] csum net/core/dev.c:3352:23: sparse: got unsigned int net/core/dev.c:3352:23: sparse: sparse: incorrect type in argument 4 (different base types) @@ expected restricted __wsum [usertype] csum @@ got unsigned int @@ net/core/dev.c:3352:23: sparse: expected restricted __wsum [usertype] csum net/core/dev.c:3352:23: sparse: got unsigned int net/core/dev.c:3352:23: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] val @@ got restricted __wsum @@ net/core/dev.c:3352:23: sparse: expected unsigned int [usertype] val net/core/dev.c:3352:23: sparse: got restricted __wsum net/core/dev.c:3352:23: sparse: sparse: incorrect type in argument 4 (different base types) @@ expected restricted __wsum [usertype] csum @@ got unsigned int @@ net/core/dev.c:3352:23: sparse: expected restricted __wsum [usertype] csum net/core/dev.c:3352:23: sparse: got unsigned int net/core/dev.c:3352:23: sparse: sparse: cast from restricted __wsum net/core/dev.c:3352:23: sparse: sparse: incorrect type in argument 4 (different base types) @@ expected restricted __wsum [usertype] csum @@ got unsigned int @@ net/core/dev.c:3352:23: sparse: expected restricted __wsum [usertype] csum net/core/dev.c:3352:23: sparse: got unsigned int net/core/dev.c:3352:23: sparse: sparse: cast from restricted __wsum net/core/dev.c:3352:23: sparse: sparse: incorrect type in argument 4 (different base types) @@ expected restricted __wsum [usertype] csum @@ got unsigned int @@ net/core/dev.c:3352:23: sparse: expected restricted __wsum [usertype] csum net/core/dev.c:3352:23: sparse: got unsigned int net/core/dev.c:3352:23: sparse: sparse: cast from restricted __wsum net/core/dev.c:3352:23: sparse: sparse: incorrect type in argument 4 (different base types) @@ expected restricted __wsum [usertype] csum @@ got unsigned int @@ net/core/dev.c:3352:23: sparse: expected restricted __wsum [usertype] csum net/core/dev.c:3352:23: sparse: got unsigned int net/core/dev.c:3352:23: sparse: sparse: cast from restricted __wsum net/core/dev.c: note: in included file (through include/linux/mmzone.h, include/linux/gfp.h, include/linux/xarray.h, ...): include/linux/page-flags.h:242:46: sparse: sparse: self-comparison always evaluates to false net/core/dev.c:205:9: sparse: sparse: context imbalance in 'unlist_netdevice' - different lock contexts for basic block net/core/dev.c:3792:17: sparse: sparse: context imbalance in '__dev_queue_xmit' - different lock contexts for basic block net/core/dev.c:5172:17: sparse: sparse: context imbalance in 'net_tx_action' - different lock contexts for basic block net/core/dev.c:8833:38: sparse: sparse: self-comparison always evaluates to false vim +/__pcpu_scope_page_pool +447 net/core/dev.c 446 > 447 DEFINE_PER_CPU_ALIGNED(struct page_pool *, page_pool); 448 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki