]> git.baikalelectronics.ru Git - kernel.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)
commitd0e138a625b8170e126393b44ccd7183db822590
tree602dc6465ddcbf0701b7f989cf18f77e1816b53e
parent91d12a020a34a72fc3d809420143c4adc3fffb91
[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