]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[MTD] slram: Handle negative devlength correctly
authorRoel Kluin <roel.kluin@gmail.com>
Sun, 18 Jan 2009 23:15:13 +0000 (00:15 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 19 Jan 2009 01:24:21 +0000 (12:24 +1100)
commit3afd522de8d8ec446efe957b86e4f63e3dd8ce9d
tree602dc6465ddcbf0701b7f989cf18f77e1816b53e
parent5f877607cdfe8b60bf96fb96e527e0ce2a21e68b
[MTD] slram: Handle negative devlength correctly

A negative devlength won't get noticed and clean up:

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/devices/slram.c