mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* drivers/reset/core.c:64: warning: Excess struct member 'rstc' description in 'reset_control_array'
@ 2023-12-14 22:19 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-12-14 22:19 UTC (permalink / raw)
  To: Kees Cook; +Cc: oe-kbuild-all, linux-kernel, Gustavo A. R. Silva

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   c7402612e2e61b76177f22e6e7f705adcbecc6fe
commit: fed2ef7abaebe5e0207cd52ae52721ea3da3b5ba reset: Annotate struct reset_control_array with __counted_by
date:   7 weeks ago
config: arm-randconfig-r081-20231214 (https://download.01.org/0day-ci/archive/20231215/202312150614.kOx8xUkr-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231215/202312150614.kOx8xUkr-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/202312150614.kOx8xUkr-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/reset/core.c:64: warning: Excess struct member 'rstc' description in 'reset_control_array'


vim +64 drivers/reset/core.c

61fc41317666be Philipp Zabel 2012-11-19  53  
17c82e206d2a3c Vivek Gautam  2017-05-22  54  /**
17c82e206d2a3c Vivek Gautam  2017-05-22  55   * struct reset_control_array - an array of reset controls
17c82e206d2a3c Vivek Gautam  2017-05-22  56   * @base: reset control for compatibility with reset control API functions
17c82e206d2a3c Vivek Gautam  2017-05-22  57   * @num_rstcs: number of reset controls
17c82e206d2a3c Vivek Gautam  2017-05-22  58   * @rstc: array of reset controls
17c82e206d2a3c Vivek Gautam  2017-05-22  59   */
17c82e206d2a3c Vivek Gautam  2017-05-22  60  struct reset_control_array {
17c82e206d2a3c Vivek Gautam  2017-05-22  61  	struct reset_control base;
17c82e206d2a3c Vivek Gautam  2017-05-22  62  	unsigned int num_rstcs;
fed2ef7abaebe5 Kees Cook     2023-09-22  63  	struct reset_control *rstc[] __counted_by(num_rstcs);
17c82e206d2a3c Vivek Gautam  2017-05-22 @64  };
17c82e206d2a3c Vivek Gautam  2017-05-22  65  

:::::: The code at line 64 was first introduced by commit
:::::: 17c82e206d2a3cd876b64921c59116f1ecdce6ad reset: Add APIs to manage array of resets

:::::: TO: Vivek Gautam <vivek.gautam@codeaurora.org>
:::::: CC: Philipp Zabel <p.zabel@pengutronix.de>

-- 
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:[~2023-12-14 22:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-14 22:19 drivers/reset/core.c:64: warning: Excess struct member 'rstc' description in 'reset_control_array' 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

all inboxes | Powered by JetHome®