[PATCH 1/4] [MTD] remove bogus warning about missing boot bank location

Christopher Moore moore at free.fr
Sun Oct 19 01:33:37 EDT 2008


Uwe Kleine-König <Uwe.Kleine-Koenig <at> digi.com> writes:

> 
> After the deleted block bootloc is only used once as follows:
> 
> 	if (bootloc == 3 && something_else) {
> 		...
> 
> So setting bootloc = 2 doesn't change anything.  Taking that the warning is
> wrong and missleading.
> 
> Signed-off-by: Uwe Kleine-König <Uwe.Kleine-Koenig <at> digi.com>


Nice catch, Uwe.

IMHO the worst thing is that the warning is completely bogus.
It says "Assuming top" but the next line sets bootloc to bottom (2) :(

See also this thread: http://thread.gmane.org/gmane.linux.drivers.mtd/22176

Last time I looked this patch had not been applied so I am pinging it.

Therefore a bit late and FWIW:-
Acked-by: Christopher Moore <moore at free.fr>




More information about the linux-mtd mailing list