lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202312160738.1Uq3Ohq0-lkp@intel.com>
Date: Sat, 16 Dec 2023 07:39:44 +0800
From: kernel test robot <lkp@...el.com>
To: Kees Cook <keescook@...omium.org>
Cc: oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org,
	Lee Jones <lee@...nel.org>,
	"Gustavo A. R. Silva" <gustavoars@...nel.org>
Subject: drivers/leds/leds-lm3697.c:93: warning: Excess struct member 'leds'
 description in 'lm3697'

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   3bd7d748816927202268cb335921f7f68b3ca723
commit: bcbadbb29cb6aa6f51505514ae635fd467ebca43 leds: lm3697: Annotate struct lm3697 with __counted_by
date:   6 weeks ago
config: arm-randconfig-r081-20231214 (https://download.01.org/0day-ci/archive/20231216/202312160738.1Uq3Ohq0-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/20231216/202312160738.1Uq3Ohq0-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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202312160738.1Uq3Ohq0-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/leds/leds-lm3697.c:93: warning: Excess struct member 'leds' description in 'lm3697'


vim +93 drivers/leds/leds-lm3697.c

5c1d824cda9f605 Dan Murphy    2019-05-06  68  
5c1d824cda9f605 Dan Murphy    2019-05-06  69  /**
5c1d824cda9f605 Dan Murphy    2019-05-06  70   * struct lm3697 -
5c1d824cda9f605 Dan Murphy    2019-05-06  71   * @enable_gpio: Hardware enable gpio
5c1d824cda9f605 Dan Murphy    2019-05-06  72   * @regulator: LED supply regulator pointer
5c1d824cda9f605 Dan Murphy    2019-05-06  73   * @client: Pointer to the I2C client
5c1d824cda9f605 Dan Murphy    2019-05-06  74   * @regmap: Devices register map
5c1d824cda9f605 Dan Murphy    2019-05-06  75   * @dev: Pointer to the devices device struct
5c1d824cda9f605 Dan Murphy    2019-05-06  76   * @lock: Lock for reading/writing the device
5c1d824cda9f605 Dan Murphy    2019-05-06  77   * @leds: Array of LED strings
6e174d3911f1580 Lee Jones     2021-05-28  78   * @bank_cfg: OUTPUT_CONFIG register values
6e174d3911f1580 Lee Jones     2021-05-28  79   * @num_banks: Number of control banks
5c1d824cda9f605 Dan Murphy    2019-05-06  80   */
5c1d824cda9f605 Dan Murphy    2019-05-06  81  struct lm3697 {
5c1d824cda9f605 Dan Murphy    2019-05-06  82  	struct gpio_desc *enable_gpio;
5c1d824cda9f605 Dan Murphy    2019-05-06  83  	struct regulator *regulator;
5c1d824cda9f605 Dan Murphy    2019-05-06  84  	struct i2c_client *client;
5c1d824cda9f605 Dan Murphy    2019-05-06  85  	struct regmap *regmap;
5c1d824cda9f605 Dan Murphy    2019-05-06  86  	struct device *dev;
5c1d824cda9f605 Dan Murphy    2019-05-06  87  	struct mutex lock;
5c1d824cda9f605 Dan Murphy    2019-05-06  88  
5c1d824cda9f605 Dan Murphy    2019-05-06  89  	int bank_cfg;
98d278ca00bd8f6 Gabriel David 2020-10-02  90  	int num_banks;
5c1d824cda9f605 Dan Murphy    2019-05-06  91  
bcbadbb29cb6aa6 Kees Cook     2023-09-15  92  	struct lm3697_led leds[] __counted_by(num_banks);
5c1d824cda9f605 Dan Murphy    2019-05-06 @93  };
5c1d824cda9f605 Dan Murphy    2019-05-06  94  

:::::: The code at line 93 was first introduced by commit
:::::: 5c1d824cda9f6059ee5fb6cc83cd4f47c85cf215 leds: lm3697: Introduce the lm3697 driver

:::::: TO: Dan Murphy <dmurphy@...com>
:::::: CC: Jacek Anaszewski <jacek.anaszewski@...il.com>

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ