]> err.no Git - linux-2.6/commit
[MTD] [NOR] fix startup lock when using multiple nor flash chips
authorRizzo Davide <davide@elpa.it>
Tue, 5 Feb 2008 07:44:48 +0000 (23:44 -0800)
committerDavid Woodhouse <dwmw2@infradead.org>
Thu, 7 Feb 2008 10:38:12 +0000 (10:38 +0000)
commit484b8e64c848185af0d3671fafba4dd66ca412d2
tree99a2bdfd37288ab7f7e00311fa86cf771fe53e34
parent53fb84a0695ffeeeadf8ae92db28cbccf5325531
[MTD] [NOR] fix startup lock when using multiple nor flash chips

Taken from http://bugzilla.kernel.org/show_bug.cgi?id=9829

I found and solved the problem, at line 115 of drivers/mtd/chips/gen_probe.c
(kernel 2.6.24): mapsize value must be calculated in bytes, not in long.

Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/mtd/chips/gen_probe.c