[MTD] Fix off-by-one error in physmap.c
authorSascha Hauer <s.hauer@pengutronix.de>
Tue, 27 Jun 2006 13:38:15 +0000 (14:38 +0100)
committerDavid Woodhouse <dwmw2@infradead.org>
Tue, 27 Jun 2006 13:38:15 +0000 (14:38 +0100)
commit6d4f8224d4ee065e0e3186cc554468d735e6015d
treec0b4107954701c9f34d638b7ec5e59b4bb279e89
parentce5b0968b1caa6b93e366e88a3c5fa2fd59029ce
[MTD] Fix off-by-one error in physmap.c

This patch fixes a simple off-by-one error in the mtd physmap driver.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/mtd/maps/physmap.c