Re: [PATCH v4 16/18] i2c: allow adapter drivers to override the adapter locking

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

 




Hi Peter,

[auto build test WARNING on v4.5-rc6]
[cannot apply to wsa/i2c/for-next sailus-media/master next-20160303]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url:    https://github.com/0day-ci/linux/commits/Peter-Rosin/i2c-mux-cleanup-and-locking-update/20160304-112229
reproduce: make htmldocs

All warnings (new ones prefixed by >>):

   include/linux/init.h:1: warning: no structured comments found
   kernel/sys.c:1: warning: no structured comments found
   drivers/dma-buf/seqno-fence.c:1: warning: no structured comments found
   drivers/dma-buf/reservation.c:1: warning: no structured comments found
   include/linux/reservation.h:1: warning: no structured comments found
   include/linux/spi/spi.h:540: warning: No description found for parameter 'max_transfer_size'
>> drivers/i2c/i2c-core.c:966: warning: No description found for parameter 'flags'
   drivers/i2c/i2c-core.c:980: warning: No description found for parameter 'flags'
   drivers/i2c/i2c-core.c:994: warning: No description found for parameter 'flags'

vim +/flags +966 drivers/i2c/i2c-core.c

0826374b Michael Lawnick 2010-08-11  950  
97cc4d49 Jean Delvare    2010-10-24  951  	if (parent)
97cc4d49 Jean Delvare    2010-10-24  952  		result = i2c_check_mux_parents(parent, addr);
0826374b Michael Lawnick 2010-08-11  953  
0826374b Michael Lawnick 2010-08-11  954  	if (!result)
0826374b Michael Lawnick 2010-08-11  955  		result = device_for_each_child(&adapter->dev, &addr,
0826374b Michael Lawnick 2010-08-11  956  						i2c_check_mux_children);
0826374b Michael Lawnick 2010-08-11  957  
0826374b Michael Lawnick 2010-08-11  958  	return result;
3b5f794b Jean Delvare    2010-06-03  959  }
3b5f794b Jean Delvare    2010-06-03  960  
9c1600ed David Brownell  2007-05-01  961  /**
7adc3913 Peter Rosin     2016-03-03  962   * i2c_adapter_lock_bus - Get exclusive access to an I2C bus segment
fe61e07e Jean Delvare    2010-08-11  963   * @adapter: Target I2C bus segment
fe61e07e Jean Delvare    2010-08-11  964   */
7adc3913 Peter Rosin     2016-03-03  965  static void i2c_adapter_lock_bus(struct i2c_adapter *adapter, int flags)
fe61e07e Jean Delvare    2010-08-11 @966  {
97cc4d49 Jean Delvare    2010-10-24  967  	struct i2c_adapter *parent = i2c_parent_is_i2c_adapter(adapter);
97cc4d49 Jean Delvare    2010-10-24  968  
97cc4d49 Jean Delvare    2010-10-24  969  	if (parent)
97cc4d49 Jean Delvare    2010-10-24  970  		i2c_lock_adapter(parent);
0826374b Michael Lawnick 2010-08-11  971  	else
fe61e07e Jean Delvare    2010-08-11  972  		rt_mutex_lock(&adapter->bus_lock);
fe61e07e Jean Delvare    2010-08-11  973  }
fe61e07e Jean Delvare    2010-08-11  974  

:::::: The code at line 966 was first introduced by commit
:::::: fe61e07e9ebc890c70d97a1f72ddaad4bee2d848 i2c: Move adapter locking helpers to i2c-core

:::::: TO: Jean Delvare <khali@xxxxxxxxxxxx>
:::::: CC: Jean Delvare <khali@xxxxxxxxxxxx>

---
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]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux