[PATCH v5 5/9] [MTD] remove bogus warning about missing boot bank location

Guillaume LECERF glecerf at gmail.com
Fri May 14 04:09:44 EDT 2010


2010/5/14 David Woodhouse <dwmw2 at infradead.org>:
> http://git.infradead.org/mtd-2.6.git/commitdiff/412da2f6

Thanks David.

One thing I noted :

+                       if ((bootloc < 2) || (bootloc > 5)) {
+                               printk(KERN_WARNING "%s: CFI contains
unrecognised boot "
+                                      "bank location (%d). Assuming bottom.\n",
+                                      bootloc, map->name);

I think bootloc and map->name need to be swapped to match the printk
pattern order (%s first then %d).

-- 
Guillaume LECERF
GeeXboX developer - www.geexbox.org



More information about the linux-mtd mailing list