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>
This commit is contained in:
@@ -24,7 +24,7 @@ MODULE_DESCRIPTION("NatSemi SCx200 Driver");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
||||
unsigned scx200_gpio_base = 0;
|
||||
long scx200_gpio_shadow[2];
|
||||
unsigned long scx200_gpio_shadow[2];
|
||||
|
||||
unsigned scx200_cb_base = 0;
|
||||
|
||||
|
Reference in New Issue
Block a user