Hi Ahmed,

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/Ahmed-Zaki/net-napi-add-irq_flags-to-napi-struct/20241219-010125
base:   net-next/main
patch link:    
https://lore.kernel.org/r/20241218165843.744647-3-ahmed.zaki%40intel.com
patch subject: [Intel-wired-lan] [PATCH net-next v2 2/8] net: allow ARFS rmap 
management in core
config: arm-randconfig-002-20241219 
(https://download.01.org/0day-ci/archive/20241219/[email protected]/config)
compiler: arm-linux-gnueabi-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): 
(https://download.01.org/0day-ci/archive/20241219/[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 net/core/dev.c:92:
   include/linux/netdevice.h:361:1: error: empty enum is invalid
     361 | };
         | ^
   include/linux/netdevice.h:367:1: error: empty enum is invalid
     367 | };
         | ^
   net/core/dev.c: In function 'netif_napi_set_irq':
>> net/core/dev.c:6710:14: warning: unused variable 'rc' [-Wunused-variable]
    6710 |         int  rc;
         |              ^~


vim +/rc +6710 net/core/dev.c

  6707  
  6708  void netif_napi_set_irq(struct napi_struct *napi, int irq, unsigned 
long flags)
  6709  {
> 6710          int  rc;
  6711  
  6712          napi->irq = irq;
  6713          napi->irq_flags = flags;
  6714  

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

Reply via email to