Re: [PATCH] HID: hiddev: change hiddev_connect() to return bool

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

 



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

Attachment: .config.gz
Description: Binary data


[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux