lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202509242332.EMhAL1a2-lkp@intel.com>
Date: Wed, 24 Sep 2025 23:44:41 +0800
From: kernel test robot <lkp@...el.com>
To: Kommula Shiva Shankar <kshankar@...vell.com>, netdev@...r.kernel.org,
	mst@...hat.com, jasowang@...hat.com, pabeni@...hat.com,
	xuanzhuo@...ux.alibaba.com
Cc: oe-kbuild-all@...ts.linux.dev, virtualization@...ts.linux.dev,
	parav@...dia.com, jerinj@...vell.com, ndabilpuram@...vell.com,
	sburla@...vell.com, schalla@...vell.com
Subject: Re: [PATCH v1 net-next  3/3] vhost/net: enable outer nw header
 offset support.

Hi Kommula,

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/Kommula-Shiva-Shankar/net-implement-virtio-helper-to-handle-outer-nw-offset/20250924-042602
base:   net-next/main
patch link:    https://lore.kernel.org/r/20250923202258.2738717-4-kshankar%40marvell.com
patch subject: [PATCH v1 net-next  3/3] vhost/net: enable outer nw header offset support.
config: arc-randconfig-r071-20250924 (https://download.01.org/0day-ci/archive/20250924/202509242332.EMhAL1a2-lkp@intel.com/config)
compiler: arc-linux-gcc (GCC) 13.4.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250924/202509242332.EMhAL1a2-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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202509242332.EMhAL1a2-lkp@intel.com/

All warnings (new ones prefixed by >>):

   In file included from include/linux/bits.h:5,
                    from include/linux/bitops.h:6,
                    from include/linux/log2.h:12,
                    from include/asm-generic/div64.h:55,
                    from ./arch/arc/include/generated/asm/div64.h:1,
                    from include/linux/math.h:6,
                    from include/linux/math64.h:6,
                    from include/linux/time.h:6,
                    from include/linux/compat.h:10,
                    from drivers/vhost/net.c:8:
>> include/vdso/bits.h:8:33: warning: excess elements in array initializer
       8 | #define BIT_ULL(nr)             (ULL(1) << (nr))
         |                                 ^
   include/linux/virtio_features.h:10:33: note: in expansion of macro 'BIT_ULL'
      10 | #define VIRTIO_BIT(b)           BIT_ULL((b) & 0x3f)
         |                                 ^~~~~~~
   drivers/vhost/net.c:81:9: note: in expansion of macro 'VIRTIO_BIT'
      81 |         VIRTIO_BIT(VIRTIO_NET_F_OUT_NET_HEADER),
         |         ^~~~~~~~~~
   include/vdso/bits.h:8:33: note: (near initialization for 'vhost_net_features')
       8 | #define BIT_ULL(nr)             (ULL(1) << (nr))
         |                                 ^
   include/linux/virtio_features.h:10:33: note: in expansion of macro 'BIT_ULL'
      10 | #define VIRTIO_BIT(b)           BIT_ULL((b) & 0x3f)
         |                                 ^~~~~~~
   drivers/vhost/net.c:81:9: note: in expansion of macro 'VIRTIO_BIT'
      81 |         VIRTIO_BIT(VIRTIO_NET_F_OUT_NET_HEADER),
         |         ^~~~~~~~~~


vim +8 include/vdso/bits.h

3945ff37d2f48d Vincenzo Frascino 2020-03-20  6  
3945ff37d2f48d Vincenzo Frascino 2020-03-20  7  #define BIT(nr)			(UL(1) << (nr))
cbdb1f163af2bb Andy Shevchenko   2022-11-28 @8  #define BIT_ULL(nr)		(ULL(1) << (nr))
3945ff37d2f48d Vincenzo Frascino 2020-03-20  9  

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ