Re: [PATCH] x86, setup: fix earlyprintk=serial,0x3f8,115200

From: H. Peter Anvin
Date: Wed Sep 08 2010 - 17:29:12 EST


On 08/29/2010 06:13 PM, Yinghai Lu wrote:
>
> earlyprintk could take io port.
>
> So we need to handle this case in setup code too, otherwise 0x3f8
> will be treated as baud rate.
>

What about a non-hexadecimal port? It seems more logical to me to move
the strncmp() up and test that before using simple_strtoull().

-hpa
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/