git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mtd: cfi_cmdset_0002: Fix argument order in bootloc warning
[safe/jmp/linux-2.6]
/
drivers
/
mtd
/
chips
/
cfi_cmdset_0002.c
diff --git
a/drivers/mtd/chips/cfi_cmdset_0002.c
b/drivers/mtd/chips/cfi_cmdset_0002.c
index
0e21b09
..
87e86e9
100644
(file)
--- a/
drivers/mtd/chips/cfi_cmdset_0002.c
+++ b/
drivers/mtd/chips/cfi_cmdset_0002.c
@@
-442,7
+442,7
@@
struct mtd_info *cfi_cmdset_0002(struct map_info *map, int primary)
if ((bootloc < 2) || (bootloc > 5)) {
printk(KERN_WARNING "%s: CFI contains unrecognised boot "
"bank location (%d). Assuming bottom.\n",
-
bootloc, map->name
);
+
map->name, bootloc
);
bootloc = 2;
}