lkml.org 
[lkml]   [2010]   [Sep]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2010-09-08 23:31    [W:0.318 / U:0.140 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site