Re: [PATCH v3 1/3] tty: serial core: provide a method to search uart by phandle
From: kbuild test robot
Date: Fri Oct 16 2015 - 15:30:45 EST
Hi Nikolaus,
[auto build test WARNING on tty/tty-next -- if it's inappropriate base, please suggest rules for selecting the more suitable base]
url: https://github.com/0day-ci/linux/commits/H-Nikolaus-Schaller/UART-slave-device-support-goldelico-version/20151017-021238
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/media/v4l2-dv-timings.h:29: warning: cannot understand function prototype: 'const struct v4l2_dv_timings v4l2_dv_timings_presets[]; '
include/media/v4l2-dv-timings.h:147: warning: No description found for parameter 'frame_height'
include/media/v4l2-dv-timings.h:147: warning: No description found for parameter 'hfreq'
include/media/v4l2-dv-timings.h:147: warning: No description found for parameter 'vsync'
include/media/v4l2-dv-timings.h:147: warning: No description found for parameter 'active_width'
include/media/v4l2-dv-timings.h:147: warning: No description found for parameter 'polarities'
include/media/v4l2-dv-timings.h:147: warning: No description found for parameter 'interlaced'
include/media/v4l2-dv-timings.h:147: warning: No description found for parameter 'fmt'
include/media/v4l2-dv-timings.h:171: warning: No description found for parameter 'frame_height'
include/media/v4l2-dv-timings.h:171: warning: No description found for parameter 'hfreq'
include/media/v4l2-dv-timings.h:171: warning: No description found for parameter 'vsync'
include/media/v4l2-dv-timings.h:171: warning: No description found for parameter 'polarities'
include/media/v4l2-dv-timings.h:171: warning: No description found for parameter 'interlaced'
include/media/v4l2-dv-timings.h:171: warning: No description found for parameter 'aspect'
include/media/v4l2-dv-timings.h:171: warning: No description found for parameter 'fmt'
include/media/v4l2-dv-timings.h:184: warning: No description found for parameter 'hor_landscape'
include/media/v4l2-dv-timings.h:184: warning: No description found for parameter 'vert_portrait'
include/media/videobuf2-core.h:112: warning: No description found for parameter 'get_dmabuf'
include/media/videobuf2-core.h:233: warning: No description found for parameter 'cnt_mem_alloc'
include/media/videobuf2-core.h:233: warning: No description found for parameter 'cnt_mem_put'
include/media/videobuf2-core.h:233: warning: No description found for parameter 'cnt_mem_get_dmabuf'
include/media/videobuf2-core.h:233: warning: No description found for parameter 'cnt_mem_get_userptr'
include/media/videobuf2-core.h:233: warning: No description found for parameter 'cnt_mem_put_userptr'
include/media/videobuf2-core.h:233: warning: No description found for parameter 'cnt_mem_prepare'
include/media/videobuf2-core.h:233: warning: No description found for parameter 'cnt_mem_finish'
include/media/videobuf2-core.h:233: warning: No description found for parameter 'cnt_mem_attach_dmabuf'
include/media/videobuf2-core.h:233: warning: No description found for parameter 'cnt_mem_detach_dmabuf'
include/media/videobuf2-core.h:233: warning: No description found for parameter 'cnt_mem_map_dmabuf'
include/media/videobuf2-core.h:233: warning: No description found for parameter 'cnt_mem_unmap_dmabuf'
include/media/videobuf2-core.h:233: warning: No description found for parameter 'cnt_mem_vaddr'
include/media/videobuf2-core.h:233: warning: No description found for parameter 'cnt_mem_cookie'
include/media/videobuf2-core.h:233: warning: No description found for parameter 'cnt_mem_num_users'
include/media/videobuf2-core.h:233: warning: No description found for parameter 'cnt_mem_mmap'
include/media/videobuf2-core.h:233: warning: No description found for parameter 'cnt_buf_init'
include/media/videobuf2-core.h:233: warning: No description found for parameter 'cnt_buf_prepare'
include/media/videobuf2-core.h:233: warning: No description found for parameter 'cnt_buf_finish'
include/media/videobuf2-core.h:233: warning: No description found for parameter 'cnt_buf_cleanup'
include/media/videobuf2-core.h:233: warning: No description found for parameter 'cnt_buf_queue'
include/media/videobuf2-core.h:233: warning: No description found for parameter 'cnt_buf_done'
drivers/media/dvb-core/dvbdev.h:199: warning: Excess function parameter 'device' description in 'dvb_register_device'
drivers/media/dvb-core/dvbdev.h:199: warning: Excess function parameter 'adapter_nums' description in 'dvb_register_device'
>> drivers/tty/serial/serial_core.c:117: warning: No description found for parameter 'dev'
>> drivers/tty/serial/serial_core.c:117: warning: No description found for parameter 'phandle'
>> drivers/tty/serial/serial_core.c:117: warning: No description found for parameter 'index'
include/linux/hsi/hsi.h:150: warning: Excess struct/union/enum/typedef member 'e_handler' description in 'hsi_client'
include/linux/hsi/hsi.h:150: warning: Excess struct/union/enum/typedef member 'pclaimed' description in 'hsi_client'
include/linux/hsi/hsi.h:150: warning: Excess struct/union/enum/typedef member 'nb' description in 'hsi_client'
vim +/dev +117 drivers/tty/serial/serial_core.c
101 * @index - the index of the uart
102 *
103 * Returns the uart_port associated with the given phandle value,
104 * after getting a refcount to it, -ENODEV if there is no such uart or
105 * -EPROBE_DEFER if there is a phandle to the uart, but the device is
106 * not yet loaded. While at that, it also associates the device with
107 * the uart using devres. On driver detach, release function is invoked
108 * on the devres data, then, devres data is freed.
109 *
110 * For use by tty host and peripheral drivers.
111 */
112
113 /* same concept as devm_usb_get_phy_by_phandle() */
114
115 struct uart_port *devm_serial_get_uart_by_phandle(struct device *dev,
116 const char *phandle, u8 index)
> 117 {
118 struct uart_port *uart = ERR_PTR(-ENOMEM), **ptr;
119 unsigned long flags;
120 struct device_node *node;
121
122 if (!dev->of_node) {
123 dev_err(dev, "device does not have a device node entry\n");
124 return ERR_PTR(-EINVAL);
125 }
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: Binary data