summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorAl Viro2007-10-14 20:35:20 +0200
committerLinus Torvalds2007-10-14 21:41:51 +0200
commit64b33619a30ff18c1535ee779572ecffcc4711d2 (patch)
tree742db1890a5671d105eba372b78c7d383607ffe6 /arch
parentfrv: missing casts in cmpxchg() (diff)
downloadkernel-qcow2-linux-64b33619a30ff18c1535ee779572ecffcc4711d2.tar.gz
kernel-qcow2-linux-64b33619a30ff18c1535ee779572ecffcc4711d2.tar.xz
kernel-qcow2-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')
-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;