Re: [PATCH 2/2] i2c-dev: Don't block the adapter from unregistering

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

[auto build test WARNING on wsa/i2c/for-next]
[also build test WARNING on v4.7-rc6 next-20160705]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Viresh-Kumar/i2c-dev-Don-t-let-userspace-block-adapter/20160706-110245
base:   https://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git i2c/for-next
reproduce: make htmldocs

All warnings (new ones prefixed by >>):

   include/linux/init.h:1: warning: no structured comments found
   kernel/sched/core.c:2079: warning: No description found for parameter 'cookie'
   kernel/sys.c:1: warning: no structured comments found
   drivers/dma-buf/seqno-fence.c:1: warning: no structured comments found
>> include/linux/i2c.h:242: warning: No description found for parameter 'adapter_nr'

vim +/adapter_nr +242 include/linux/i2c.h

d64f73be David Brownell  2007-07-12  226   * managing the device.
^1da177e Linus Torvalds  2005-04-16  227   */
^1da177e Linus Torvalds  2005-04-16  228  struct i2c_client {
2096b956 David Brownell  2007-05-01  229  	unsigned short flags;		/* div., see below		*/
5071860a Jean Delvare    2005-07-20  230  	unsigned short addr;		/* chip address - NOTE: 7bit	*/
^1da177e Linus Torvalds  2005-04-16  231  					/* addresses are stored in the	*/
5071860a Jean Delvare    2005-07-20  232  					/* _LOWER_ 7 bits		*/
2096b956 David Brownell  2007-05-01  233  	char name[I2C_NAME_SIZE];
^1da177e Linus Torvalds  2005-04-16  234  	struct i2c_adapter *adapter;	/* the adapter we sit on	*/
^1da177e Linus Torvalds  2005-04-16  235  	struct device dev;		/* the device structure		*/
8e29da9e Wolfram Sang    2008-07-01  236  	int irq;			/* irq issued by device		*/
42fc20b8 Viresh Kumar    2016-07-05  237  	int adapter_nr;
4735c98f Jean Delvare    2008-07-14  238  	struct list_head detected;
d5fd120e Jean Delvare    2015-01-26  239  #if IS_ENABLED(CONFIG_I2C_SLAVE)
4b1acc43 Wolfram Sang    2014-11-18  240  	i2c_slave_cb_t slave_cb;	/* callback for slave mode	*/
d5fd120e Jean Delvare    2015-01-26  241  #endif
^1da177e Linus Torvalds  2005-04-16 @242  };
^1da177e Linus Torvalds  2005-04-16  243  #define to_i2c_client(d) container_of(d, struct i2c_client, dev)
^1da177e Linus Torvalds  2005-04-16  244  
9b766b81 David Brownell  2008-01-27  245  extern struct i2c_client *i2c_verify_client(struct device *dev);
643dd09e Stephen Warren  2012-04-17  246  extern struct i2c_adapter *i2c_verify_adapter(struct device *dev);
9b766b81 David Brownell  2008-01-27  247  
a61fc683 Ben Gardner     2005-07-27  248  static inline struct i2c_client *kobj_to_i2c_client(struct kobject *kobj)
a61fc683 Ben Gardner     2005-07-27  249  {
d75d53cd Mark M. Hoffman 2007-07-12  250  	struct device * const dev = container_of(kobj, struct device, kobj);

:::::: The code at line 242 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2

:::::: TO: Linus Torvalds <torvalds@xxxxxxxxxxxxxxx>
:::::: CC: Linus Torvalds <torvalds@xxxxxxxxxxxxxxx>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: Binary data


[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux