mtd: slram: invalid checking of absolute end address
authorJiri Engelthaler <engycz@gmail.com>
Thu, 20 Sep 2012 14:49:50 +0000 (16:49 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 3 Dec 2012 19:37:58 +0000 (11:37 -0800)
commit4a6195797eb31a910eb13b891612c24f9643df60
tree25cc8f79f5eb48fc4faade6cad2c7046d73caac7
parentad362b2ba5fc62b5bd7740b9aee9ef7c3f4b9466
mtd: slram: invalid checking of absolute end address

commit c36a7ff4578ab6294885aef5ef241aeec4cdb1f0 upstream.

Fixed parsing end absolute address.

Signed-off-by: Jiri Engelthaler <engycz@gmail.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/mtd/devices/slram.c