summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/scx200_32.c
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2007-10-14 20:35:20 +0200
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-14 21:41:51 +0200
commit64b33619a30ff18c1535ee779572ecffcc4711d2 (patch)
tree742db1890a5671d105eba372b78c7d383607ffe6 /arch/x86/kernel/scx200_32.c
parentfrv: missing casts in cmpxchg() (diff)
downloadlinux-64b33619a30ff18c1535ee779572ecffcc4711d2.tar.xz
linux-64b33619a30ff18c1535ee779572ecffcc4711d2.zip
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 'arch/x86/kernel/scx200_32.c')
-rw-r--r--arch/x86/kernel/scx200_32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/scx200_32.c b/arch/x86/kernel/scx200_32.c
index 487597720913..87bc159d29df 100644
--- a/arch/x86/kernel/scx200_32.c
+++ b/arch/x86/kernel/scx200_32.c
@@ -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;