lkml.org 
[lkml]   [2015]   [Oct]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] HID: hiddev: change hiddev_connect() to return bool
Hi Luis,

[auto build test ERROR on v4.3-rc4 -- if it's inappropriate base, please ignore]

config: x86_64-lkp (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64

All errors (new ones prefixed by >>):

>> drivers/hid/usbhid/hiddev.c:878:6: error: conflicting types for 'hiddev_connect'
bool hiddev_connect(struct hid_device *hid, unsigned int force)
^
In file included from drivers/hid/usbhid/hiddev.c:35:0:
include/linux/hiddev.h:41:5: note: previous declaration of 'hiddev_connect' was here
int hiddev_connect(struct hid_device *hid, unsigned int force);
^

vim +/hiddev_connect +878 drivers/hid/usbhid/hiddev.c

872 .minor_base = HIDDEV_MINOR_BASE,
873 };
874
875 /*
876 * This is where hid.c calls us to connect a hid device to the hiddev driver
877 */
> 878 bool hiddev_connect(struct hid_device *hid, unsigned int force)
879 {
880 struct hiddev *hiddev;
881 struct usbhid_device *usbhid = hid->driver_data;

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[unhandled content-type:application/octet-stream]
\
 
 \ /
  Last update: 2015-10-09 14:41    [W:0.041 / U:0.240 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site