[MTD] Don't oops when the RedBoot partition table is empty
authorMartin Michlmayr <tbm@cyrius.com>
Fri, 2 Feb 2007 18:14:41 +0000 (19:14 +0100)
committerDavid Woodhouse <dwmw2@infradead.org>
Fri, 9 Feb 2007 15:06:53 +0000 (15:06 +0000)
commit678c857f3cffb076c36ce55dfa9fb570712cec12
tree11a07d7e972a032fdccefbc5fcbc585b4d6bba40
parentd24030f0f71390b1a01796d664445352bd403269
[MTD] Don't oops when the RedBoot partition table is empty

This fixes a regression with the RedBoot parsing code introduced by
commit 0b47d654089c5ce3f2ea26a4485db9bcead1e515

Signed-off-by: Martin Michlmayr <tbm@cyrius.com>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/mtd/redboot.c