Messages in this thread | | | Date | Wed, 08 Sep 2010 14:28:33 -0700 | From | "H. Peter Anvin" <> | Subject | Re: [PATCH] x86, setup: fix earlyprintk=serial,0x3f8,115200 |
| |
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
| |