Skip to content

Commit

Permalink
Input: wacom - make one-bit signed bitfields unsigned
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Harvey Harrison authored and Dmitry Torokhov committed May 16, 2008
1 parent e34b9d2 commit c6a3ead
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/input/tablet/wacom.h
Original file line number Diff line number Diff line change
Expand Up @@ -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];
};

Expand Down

0 comments on commit c6a3ead

Please sign in to comment.