Skip to contentSkip to conversation

drivers/rtc/rtc-pl031.c:85: warning: Function parameter or struct member 'range_min' not described in 'pl031_vendor_data'

DISCUSSION kernel test robot 1 participant 1 message Mar 1, 2025

lore
Share & tools
lore

kernel test robot

author build bot
#0 lore raw

Hi Alexandre,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   5c44ddaf7df3a06391684dde65083a092e06052b
commit: 03f2a0e45f395bc34b0a44105bc7e935bfd40c27 rtc: pl031: set range
date:   5 years ago
config: arm-randconfig-002-20240719 (https://download.01.org/0day-ci/archive/20250301/[email protected]/config)
compiler: arm-linux-gnueabi-gcc (GCC) 12.4.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250301/[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/rtc/rtc-pl031.c:85: warning: Function parameter or struct member 'range_min' not described in 'pl031_vendor_data'
>> drivers/rtc/rtc-pl031.c:85: warning: Function parameter or struct member 'range_max' not described in 'pl031_vendor_data'

vim +85 drivers/rtc/rtc-pl031.c

8ae6e163c1b637 Deepak Saxena     2006-06-25  68  
aff05ed5d10352 Linus Walleij     2012-07-30  69  /**
aff05ed5d10352 Linus Walleij     2012-07-30  70   * struct pl031_vendor_data - per-vendor variations
aff05ed5d10352 Linus Walleij     2012-07-30  71   * @ops: the vendor-specific operations used on this silicon version
1bb457fc9268bb Linus Walleij     2012-07-30  72   * @clockwatch: if this is an ST Microelectronics silicon version with a
1bb457fc9268bb Linus Walleij     2012-07-30  73   *	clockwatch function
1bb457fc9268bb Linus Walleij     2012-07-30  74   * @st_weekday: if this is an ST Microelectronics silicon version that need
1bb457fc9268bb Linus Walleij     2012-07-30  75   *	the weekday fix
559a6fc0508392 Mattias Wallin    2012-07-30  76   * @irqflags: special IRQ flags per variant
aff05ed5d10352 Linus Walleij     2012-07-30  77   */
aff05ed5d10352 Linus Walleij     2012-07-30  78  struct pl031_vendor_data {
aff05ed5d10352 Linus Walleij     2012-07-30  79  	struct rtc_class_ops ops;
1bb457fc9268bb Linus Walleij     2012-07-30  80  	bool clockwatch;
1bb457fc9268bb Linus Walleij     2012-07-30  81  	bool st_weekday;
559a6fc0508392 Mattias Wallin    2012-07-30  82  	unsigned long irqflags;
03f2a0e45f395b Alexandre Belloni 2020-03-06  83  	time64_t range_min;
03f2a0e45f395b Alexandre Belloni 2020-03-06  84  	timeu64_t range_max;

aff05ed5d10352 Linus Walleij 2012-07-30 @85 };
aff05ed5d10352 Linus Walleij 2012-07-30 86

:::::: The code at line 85 was first introduced by commit
:::::: aff05ed5d103524bd69bd9d7b621c5c8a6c63198 rtc: pl031: encapsulate per-vendor ops

:::::: TO: Linus Walleij <[email protected]> :::::: CC: Linus Torvalds <[email protected]>

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