tree: https://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git testing head: 87a37f01e744b2203a6d053322632f680f30fade commit: 068e2e1754d7c9e92e07c8332b2b64673b4989cc [10/11] lib: checksum: Add some corner cases to csum_ipv6_magic tests config: i386-buildonly-randconfig-006-20240218 (https://download.01.org/0day-ci/archive/20240218/202402180814.YyJcQzem-lkp@xxxxxxxxx/config) compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240218/202402180814.YyJcQzem-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/202402180814.YyJcQzem-lkp@xxxxxxxxx/ All warnings (new ones prefixed by >>): >> lib/checksum_kunit.c:235:18: warning: 'expected_csum_ipv6_magic_corner' defined but not used [-Wunused-const-variable=] 235 | static const u16 expected_csum_ipv6_magic_corner[] = { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lib/checksum_kunit.c:219:18: warning: 'expected_csum_ipv6_magic' defined but not used [-Wunused-const-variable=] 219 | static const u16 expected_csum_ipv6_magic[] = { | ^~~~~~~~~~~~~~~~~~~~~~~~ vim +/expected_csum_ipv6_magic_corner +235 lib/checksum_kunit.c 234 > 235 static const u16 expected_csum_ipv6_magic_corner[] = { 236 0xff00, /* all 0xff */ 237 0x0000, /* proto==0 */ 238 0xfffe, /* proto==1 */ 239 0xff00, /* len==0 */ 240 0xfeff, /* len==1 */ 241 0xff00, /* csum==0 */ 242 0xfeff, /* csum==1 */ 243 }; 244 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki