Hi Piotr,

kernel test robot noticed the following build warnings:

[auto build test WARNING on tnguy-next-queue/dev-queue]

url:    
https://github.com/intel-lab-lkp/linux/commits/Piotr-Kwapulinski/ixgbe-Add-support-for-E610-FW-Admin-Command-Interface/20241204-223603
base:   https://git.kernel.org/pub/scm/linux/kernel/git/tnguy/next-queue.git 
dev-queue
patch link:    
https://lore.kernel.org/r/20241204143112.29411-6-piotr.kwapulinski%40intel.com
patch subject: [Intel-wired-lan] [PATCH iwl-next v11 5/8] ixgbe: Add support 
for EEPROM dump in E610 device
config: i386-buildonly-randconfig-003 
(https://download.01.org/0day-ci/archive/20241205/[email protected]/config)
compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project 
ab51eccf88f5321e7c60591c5546b254b6afab99)
reproduce (this is a W=1 build): 
(https://download.01.org/0day-ci/archive/20241205/[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 >>):

>> drivers/net/ethernet/intel/ixgbe/ixgbe_e610.c:2083: warning: expecting 
>> prototype for ixgbe_init_eeprom_params_E610(). Prototype was for 
>> ixgbe_init_eeprom_params_e610() instead


vim +2083 drivers/net/ethernet/intel/ixgbe/ixgbe_e610.c

  2072  
  2073  /**
  2074   * ixgbe_init_eeprom_params_E610 - Initialize EEPROM params
  2075   * @hw: pointer to hardware structure
  2076   *
  2077   * Initialize the EEPROM parameters ixgbe_eeprom_info within the 
ixgbe_hw
  2078   * struct in order to set up EEPROM access.
  2079   *
  2080   * Return: the operation exit code
  2081   */
  2082  int ixgbe_init_eeprom_params_e610(struct ixgbe_hw *hw)
> 2083  {
  2084          struct ixgbe_eeprom_info *eeprom = &hw->eeprom;
  2085          u32 gens_stat;
  2086          u8 sr_size;
  2087  
  2088          if (eeprom->type != ixgbe_eeprom_uninitialized)
  2089                  return 0;
  2090  
  2091          eeprom->type = ixgbe_flash;
  2092  
  2093          gens_stat = IXGBE_READ_REG(hw, GLNVM_GENS);
  2094          sr_size = FIELD_GET(GLNVM_GENS_SR_SIZE_M, gens_stat);
  2095  
  2096          /* Switching to words (sr_size contains power of 2). */
  2097          eeprom->word_size = BIT(sr_size) * IXGBE_SR_WORDS_IN_1KB;
  2098  
  2099          hw_dbg(hw, "Eeprom params: type = %d, size = %d\n", 
eeprom->type,
  2100                 eeprom->word_size);
  2101  
  2102          return 0;
  2103  }
  2104  

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

Reply via email to