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/[email protected]/config)
compiler: arc-linux-gcc (GCC) 13.4.0
reproduce (this is a W=1 build): 
(https://download.01.org/0day-ci/archive/20250924/[email protected]/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 <[email protected]>
| Closes: 
https://lore.kernel.org/oe-kbuild-all/[email protected]/

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

Reply via email to