Hi Przemek,

kernel test robot noticed the following build errors:

[auto build test ERROR on tnguy-net-queue/dev-queue]

url:    
https://github.com/intel-lab-lkp/linux/commits/Przemek-Kitszel/ice-use-DSN-instead-of-PCI-BDF-for-ice_adapter-index/20250407-192849
base:   https://git.kernel.org/pub/scm/linux/kernel/git/tnguy/net-queue.git 
dev-queue
patch link:    
https://lore.kernel.org/r/20250407112005.85468-1-przemyslaw.kitszel%40intel.com
patch subject: [PATCH iwl-net v2] ice: use DSN instead of PCI BDF for 
ice_adapter index
config: arc-allyesconfig 
(https://download.01.org/0day-ci/archive/20250408/[email protected]/config)
compiler: arc-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): 
(https://download.01.org/0day-ci/archive/20250408/[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 errors (new ones prefixed by >>):

   drivers/net/ethernet/intel/ice/ice_adapter.c: In function 
'ice_adapter_index':
>> drivers/net/ethernet/intel/ice/ice_adapter.c:21:27: error: expected 
>> expression before 'u32'
      21 |         return (u32)dsn ^ u32(dsn >> 32);
         |                           ^~~
   drivers/net/ethernet/intel/ice/ice_adapter.c:23:1: warning: control reaches 
end of non-void function [-Wreturn-type]
      23 | }
         | ^


vim +/u32 +21 drivers/net/ethernet/intel/ice/ice_adapter.c

    15  
    16  static unsigned long ice_adapter_index(u64 dsn)
    17  {
    18  #if BITS_PER_LONG == 64
    19          return dsn;
    20  #else
  > 21          return (u32)dsn ^ u32(dsn >> 32);
    22  #endif
    23  }
    24  

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

Reply via email to