From: Dmitry Torokhov Date: Thu, 3 May 2007 04:54:54 +0000 (-0400) Subject: Input: drivers/usb/input - fix sparse warnings (signedness) X-Git-Tag: v2.6.22-rc1~357^2~11 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ee1fc8e554593061a71d6af7c94f31764b87606;p=linux-2.6 Input: drivers/usb/input - fix sparse warnings (signedness) Signed-off-by: Dmitry Torokhov --- diff --git a/drivers/usb/input/acecad.c b/drivers/usb/input/acecad.c index be8e9243c0..dd2310458c 100644 --- a/drivers/usb/input/acecad.c +++ b/drivers/usb/input/acecad.c @@ -54,7 +54,7 @@ struct usb_acecad { struct input_dev *input; struct urb *irq; - signed char *data; + unsigned char *data; dma_addr_t data_dma; }; diff --git a/drivers/usb/input/kbtab.c b/drivers/usb/input/kbtab.c index c4781b9d12..91e6d00d4a 100644 --- a/drivers/usb/input/kbtab.c +++ b/drivers/usb/input/kbtab.c @@ -29,7 +29,7 @@ module_param(kb_pressure_click, int, 0); MODULE_PARM_DESC(kb_pressure_click, "pressure threshold for clicks"); struct kbtab { - signed char *data; + unsigned char *data; dma_addr_t data_dma; struct input_dev *dev; struct usb_device *usbdev; diff --git a/drivers/usb/input/wacom_wac.h b/drivers/usb/input/wacom_wac.h index a230222872..89793666ee 100644 --- a/drivers/usb/input/wacom_wac.h +++ b/drivers/usb/input/wacom_wac.h @@ -39,7 +39,7 @@ struct wacom_features { }; struct wacom_wac { - signed char *data; + unsigned char *data; int tool[2]; int id[2]; __u32 serial[2];