提交 4ee1fc8e 编写于 作者: D Dmitry Torokhov

Input: drivers/usb/input - fix sparse warnings (signedness)

Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
上级 ce305b6a
...@@ -54,7 +54,7 @@ struct usb_acecad { ...@@ -54,7 +54,7 @@ struct usb_acecad {
struct input_dev *input; struct input_dev *input;
struct urb *irq; struct urb *irq;
signed char *data; unsigned char *data;
dma_addr_t data_dma; dma_addr_t data_dma;
}; };
......
...@@ -29,7 +29,7 @@ module_param(kb_pressure_click, int, 0); ...@@ -29,7 +29,7 @@ module_param(kb_pressure_click, int, 0);
MODULE_PARM_DESC(kb_pressure_click, "pressure threshold for clicks"); MODULE_PARM_DESC(kb_pressure_click, "pressure threshold for clicks");
struct kbtab { struct kbtab {
signed char *data; unsigned char *data;
dma_addr_t data_dma; dma_addr_t data_dma;
struct input_dev *dev; struct input_dev *dev;
struct usb_device *usbdev; struct usb_device *usbdev;
......
...@@ -39,7 +39,7 @@ struct wacom_features { ...@@ -39,7 +39,7 @@ struct wacom_features {
}; };
struct wacom_wac { struct wacom_wac {
signed char *data; unsigned char *data;
int tool[2]; int tool[2];
int id[2]; int id[2];
__u32 serial[2]; __u32 serial[2];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册