projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e34b9d2
)
Input: wacom - make one-bit signed bitfields unsigned
author
Harvey Harrison
<harvey.harrison@gmail.com>
Mon, 5 May 2008 15:50:40 +0000
(11:50 -0400)
committer
Dmitry Torokhov
<dmitry.torokhov@gmail.com>
Fri, 16 May 2008 18:49:39 +0000
(14:49 -0400)
Otherwise it can only take the values 0/-1 which doesn't seem to
have been intended.
drivers/input/tablet/wacom.h:108:12: error: dubious one-bit signed bitfield
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/tablet/wacom.h
patch
|
blob
|
history
diff --git
a/drivers/input/tablet/wacom.h
b/drivers/input/tablet/wacom.h
index
706619d
..
ca62ec6
100644
(file)
--- a/
drivers/input/tablet/wacom.h
+++ b/
drivers/input/tablet/wacom.h
@@
-105,7
+105,7
@@
struct wacom {
struct urb *irq;
struct wacom_wac * wacom_wac;
struct mutex lock;
- int open:1;
+
unsigned
int open:1;
char phys[32];
};