The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* drivers/firmware/broadcom/bcm47xx_nvram.c:41: warning: Function parameter or struct member 'nvram' not described in 'bcm47xx_nvram_is_valid'
@ 2025-01-04 18:21 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-01-04 18:21 UTC (permalink / raw)
  To: Rafał Miłecki; +Cc: oe-kbuild-all, linux-kernel, Thomas Bogendoerfer

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   63676eefb7a026d04b51dcb7aaf54f358517a2ec
commit: 0a24b51a3264a3f942a75025ea5ff6133c8989b0 firmware: bcm47xx_nvram: add helper checking for NVRAM
date:   3 years, 10 months ago
config: parisc-randconfig-c44-20220907 (https://download.01.org/0day-ci/archive/20250105/202501050206.0tkkbpjW-lkp@intel.com/config)
compiler: hppa-linux-gcc (GCC) 12.4.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250105/202501050206.0tkkbpjW-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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202501050206.0tkkbpjW-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/firmware/broadcom/bcm47xx_nvram.c:41: warning: Function parameter or struct member 'nvram' not described in 'bcm47xx_nvram_is_valid'
   drivers/firmware/broadcom/bcm47xx_nvram.c:61: warning: Function parameter or struct member 'flash_start' not described in 'bcm47xx_nvram_find_and_copy'
   drivers/firmware/broadcom/bcm47xx_nvram.c:61: warning: Function parameter or struct member 'res_size' not described in 'bcm47xx_nvram_find_and_copy'


vim +41 drivers/firmware/broadcom/bcm47xx_nvram.c

    36	
    37	/**
    38	 * bcm47xx_nvram_is_valid - check for a valid NVRAM at specified memory
    39	 */
    40	static bool bcm47xx_nvram_is_valid(void __iomem *nvram)
  > 41	{
    42		return ((struct nvram_header *)nvram)->magic == NVRAM_MAGIC;
    43	}
    44	

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-01-04 18:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-04 18:21 drivers/firmware/broadcom/bcm47xx_nvram.c:41: warning: Function parameter or struct member 'nvram' not described in 'bcm47xx_nvram_is_valid' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox