summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2007-10-14 20:35:30 +0200
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-14 21:41:52 +0200
commit64a6f9500d8e8a8e1b1adc2120e56cc88df5727f (patch)
tree19949f0c50538e08b7e434db7860bef02d8aa611 /drivers/mtd/nand
parentlong vs. unsigned long - low-hanging fruits in drivers (diff)
downloadlinux-64a6f9500d8e8a8e1b1adc2120e56cc88df5727f.tar.xz
linux-64a6f9500d8e8a8e1b1adc2120e56cc88df5727f.zip
signedness: module_param_array nump argument
... should be unsigned int Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/mtd/nand')
-rw-r--r--drivers/mtd/nand/cafe_nand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/cafe_nand.c b/drivers/mtd/nand/cafe_nand.c
index e2832d0b9899..1e811715211a 100644
--- a/drivers/mtd/nand/cafe_nand.c
+++ b/drivers/mtd/nand/cafe_nand.c
@@ -80,7 +80,7 @@ module_param(regdebug, int, 0644);
static int checkecc = 1;
module_param(checkecc, int, 0644);
-static int numtimings;
+static unsigned int numtimings;
static int timing[3];
module_param_array(timing, int, &numtimings, 0644);