diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2007-10-14 14:35:20 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-14 15:41:51 -0400 |
commit | 64b33619a30ff18c1535ee779572ecffcc4711d2 (patch) | |
tree | 742db1890a5671d105eba372b78c7d383607ffe6 /drivers/char/sx.h | |
parent | 0cc0844bc6d0bfca97fda48fa28d1f0a7cf878cb (diff) |
long vs. unsigned long - low-hanging fruits in drivers
deal with signedness of the stuff passed to set_bit() et.al.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/char/sx.h')
-rw-r--r-- | drivers/char/sx.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/sx.h b/drivers/char/sx.h index 432aad0a2ddd..70d9783c7323 100644 --- a/drivers/char/sx.h +++ b/drivers/char/sx.h | |||
@@ -27,7 +27,7 @@ struct sx_port { | |||
27 | int c_dcd; | 27 | int c_dcd; |
28 | struct sx_board *board; | 28 | struct sx_board *board; |
29 | int line; | 29 | int line; |
30 | long locks; | 30 | unsigned long locks; |
31 | }; | 31 | }; |
32 | 32 | ||
33 | struct sx_board { | 33 | struct sx_board { |
@@ -45,7 +45,7 @@ struct sx_board { | |||
45 | int poll; | 45 | int poll; |
46 | int ta_type; | 46 | int ta_type; |
47 | struct timer_list timer; | 47 | struct timer_list timer; |
48 | long locks; | 48 | unsigned long locks; |
49 | }; | 49 | }; |
50 | 50 | ||
51 | struct vpd_prom { | 51 | struct vpd_prom { |