Re: [PATCH V3 1/2] i2c: core: add devm apis for i2c_new_dummy()

[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 next-20160617]
[cannot apply to v4.7-rc3]
[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/Laxman-Dewangan/i2c-core-add-devm-apis-for-i2c_new_dummy/20160617-215840
base:   https://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux 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
>> drivers/i2c/i2c-core.c:1159: warning: bad line: 

vim +1159 drivers/i2c/i2c-core.c

  1143	
  1144		return i2c_new_device(adapter, &info);
  1145	}
  1146	EXPORT_SYMBOL_GPL(i2c_new_dummy);
  1147	
  1148	static void devm_i2c_dummy_release(struct device *dev, void *res)
  1149	{
  1150		i2c_unregister_device(*(struct i2c_client **)res);
  1151	}
  1152	
  1153	/**
  1154	 * devm_i2c_new_dummy - Resource managed version of i2c_new_dummy().
  1155	 * @dev:	Device handle for which this resouce belongs to.
  1156	 * @adapter:	the adapter managing the device
  1157	 * @address:	seven bit address to be used
  1158	 * Context:	can sleep
> 1159	
  1160	 * Please refer the details of i2c_new_dummy() for more information.
  1161	 *
  1162	 * This returns the new i2c client on success; or NULL to indicate an error.
  1163	 * The new i2c_client will be automatically released when the device is unbound.
  1164	 */
  1165	struct i2c_client *devm_i2c_new_dummy(struct device *dev,
  1166					      struct i2c_adapter *adapter,
  1167					      u16 address)

---
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]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux