Re: [lkp] [PATCH v3 1/3] spi: spidev: create spidev device for all spi slaves.

From: Fengguang Wu
Date: Wed Jul 20 2016 - 03:16:57 EST


Hi,

[auto build test WARNING on v4.7-rc7]
[cannot apply to next-20160719]
[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/Michal-Suchanek/Spidev-usability-patchset-update/20160720-055513
reproduce: make htmldocs

All warnings (new ones prefixed by >>):

include/linux/init.h:1: warning: no structured comments found
kernel/sched/core.c:2081: 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/spi/spi.h:195: warning: No description found for parameter 'spidev_devt'
>> include/linux/spi/spi.h:195: warning: No description found for parameter 'spidev'
>> include/linux/spi/spi.h:195: warning: No description found for parameter 'spidev_lock'
>> include/linux/spi/spi.h:195: warning: No description found for parameter 'buf_lock'
>> include/linux/spi/spi.h:195: warning: No description found for parameter 'spidev_users'
>> include/linux/spi/spi.h:195: warning: No description found for parameter 'tx_buffer'
>> include/linux/spi/spi.h:195: warning: No description found for parameter 'rx_buffer'
>> include/linux/spi/spi.h:195: warning: No description found for parameter 'spidev_speed_hz'

git remote add linux-review https://github.com/0day-ci/linux
git remote update linux-review
git checkout 2797999799fc3b7f10f680b3e3fa34ca56e1385d
vim +/spidev_devt +195 include/linux/spi/spi.h

33e34dc6 David Brownell 2007-05-08 179 * - ...
33e34dc6 David Brownell 2007-05-08 180 */
27979997 Michal Suchanek 2016-07-19 181
27979997 Michal Suchanek 2016-07-19 182 /* spidev stuff */
27979997 Michal Suchanek 2016-07-19 183 #if config_enabled(CONFIG_SPI_SPIDEV)
27979997 Michal Suchanek 2016-07-19 184 dev_t spidev_devt;
27979997 Michal Suchanek 2016-07-19 185 struct device * spidev;
27979997 Michal Suchanek 2016-07-19 186 spinlock_t spidev_lock;
27979997 Michal Suchanek 2016-07-19 187
27979997 Michal Suchanek 2016-07-19 188 /* TX/RX buffers are NULL unless this device is open (users > 0) */
27979997 Michal Suchanek 2016-07-19 189 struct mutex buf_lock;
27979997 Michal Suchanek 2016-07-19 190 unsigned spidev_users;
27979997 Michal Suchanek 2016-07-19 191 u8 *tx_buffer;
27979997 Michal Suchanek 2016-07-19 192 u8 *rx_buffer;
27979997 Michal Suchanek 2016-07-19 193 u32 spidev_speed_hz;
27979997 Michal Suchanek 2016-07-19 194 #endif /*CONFIG_SPI_SPIDEV*/
8ae12a0d David Brownell 2006-01-08 @195 };
8ae12a0d David Brownell 2006-01-08 196
8ae12a0d David Brownell 2006-01-08 197 static inline struct spi_device *to_spi_device(struct device *dev)
8ae12a0d David Brownell 2006-01-08 198 {
b885244e David Brownell 2006-01-08 199 return dev ? container_of(dev, struct spi_device, dev) : NULL;
8ae12a0d David Brownell 2006-01-08 200 }
8ae12a0d David Brownell 2006-01-08 201
8ae12a0d David Brownell 2006-01-08 202 /* most drivers won't need to care about device refcounting */
8ae12a0d David Brownell 2006-01-08 203 static inline struct spi_device *spi_dev_get(struct spi_device *spi)



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

Attachment: .config.gz
Description: Binary data