lkml.org 
[lkml]   [2008]   [Oct]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [mmotm 02/Oct] fix buid error of hid-core
Date
Hi Andrew, 

Ping!

> Patch against: mmotm 02 Oct
> Applied after: usb-usb-remove-warn-macro-from-usbh.patch
>
> fix following buiild error
>
> -------------------------
> CC [M] drivers/hid/usbhid/hid-core.o
> drivers/hid/usbhid/hid-core.c: In function 'usbhid_submit_report':
> drivers/hid/usbhid/hid-core.c:417: error: incompatible type for argument 1 of 'dev_driver_string'
> drivers/hid/usbhid/hid-core.c:417: error: incompatible type for argument 1 of 'dev_name'
> drivers/hid/usbhid/hid-core.c:436: error: incompatible type for argument 1 of 'dev_driver_string'
> drivers/hid/usbhid/hid-core.c:436: error: incompatible type for argument 1 of 'dev_name'
> drivers/hid/usbhid/hid-core.c: In function 'usbhid_init_reports':
> drivers/hid/usbhid/hid-core.c:568: error: incompatible type for argument 1 of 'dev_driver_string'
> drivers/hid/usbhid/hid-core.c:568: error: incompatible type for argument 1 of 'dev_name'
> make[3]: *** [drivers/hid/usbhid/hid-core.o] Error 1
> make[2]: *** [drivers/hid/usbhid] Error 2
> make[1]: *** [drivers/hid] Error 2
> make: *** [drivers] Error 2
> -------------------
>
> Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
> CC: Andrew Morton <akpm@linux-foundation.org>
>
> ---
> drivers/hid/usbhid/hid-core.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> Index: b/drivers/hid/usbhid/hid-core.c
> ===================================================================
> --- a/drivers/hid/usbhid/hid-core.c
> +++ b/drivers/hid/usbhid/hid-core.c
> @@ -414,7 +414,7 @@ void usbhid_submit_report(struct hid_dev
>
> if ((head = (usbhid->outhead + 1) & (HID_OUTPUT_FIFO_SIZE - 1)) == usbhid->outtail) {
> spin_unlock_irqrestore(&usbhid->outlock, flags);
> - dev_warn(hid->dev, "output queue full\n");
> + dev_warn(&hid->dev, "output queue full\n");
> return;
> }
>
> @@ -433,7 +433,7 @@ void usbhid_submit_report(struct hid_dev
>
> if ((head = (usbhid->ctrlhead + 1) & (HID_CONTROL_FIFO_SIZE - 1)) == usbhid->ctrltail) {
> spin_unlock_irqrestore(&usbhid->ctrllock, flags);
> - dev_warn(hid->dev, "control queue full\n");
> + dev_warn(&hid->dev, "control queue full\n");
> return;
> }
>
> @@ -565,7 +565,7 @@ void usbhid_init_reports(struct hid_devi
> }
>
> if (err)
> - dev_warn(hid->dev, "timeout initializing reports\n");
> + dev_warn(&hid->dev, "timeout initializing reports\n");
> }
>
> /*
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/





\
 
 \ /
  Last update: 2008-10-09 08:47    [W:0.406 / U:0.208 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site