Input: drivers/usb/input - fix sparse warnings (signedness)
authorDmitry Torokhov <dtor@insightbb.com>
Thu, 3 May 2007 04:54:54 +0000 (00:54 -0400)
committerDmitry Torokhov <dtor@insightbb.com>
Thu, 3 May 2007 04:54:54 +0000 (00:54 -0400)
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/usb/input/acecad.c
drivers/usb/input/kbtab.c
drivers/usb/input/wacom_wac.h

index be8e9243c06203579e81b2e5a2ccff27c7a8fe8b..dd2310458c46a87aafaf0d2873a54f535dde0781 100644 (file)
@@ -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;
 };
 
index c4781b9d1297c025778f2cc5324816ffb2b62b6d..91e6d00d4a43ffdc4a8a26e21ea1ca9bd6e9df90 100644 (file)
@@ -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;
index a23022287248e12805f1250de2f0a41c3a079ae8..89793666ee8a15c2a2360e28cddf5ba63bcdbcee 100644 (file)
@@ -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];