]> err.no Git - linux-2.6/commit
[PATCH] drivers/mtd/maps/vmax301.c: fix off by one vmax_mtd
authorPetri T. Koistinen <petri.koistinen@iki.fi>
Fri, 31 Mar 2006 10:29:54 +0000 (02:29 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 31 Mar 2006 20:18:49 +0000 (12:18 -0800)
commitb5ac5d7edb64b3ca1a489b30d95d62492a1f0b80
tree362a9f0d4c64808dd49a865dd432d3b7f8d2f025
parent4d551465986c9a0040f47700a8c736c90519418f
[PATCH] drivers/mtd/maps/vmax301.c: fix off by one vmax_mtd

Fix an obvious off-by-one error (vmax_mtd[] contains two elements).

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Cc: Thomas Gleixner <tglx@linutronix.de>
Acked-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/mtd/maps/vmax301.c