lkml.org 
[lkml]   [2014]   [Jan]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2]vt: fix potential dual con_driver register for conswitchp
On Mon, Dec 30, 2013 at 11:21:18AM +0800, Wang YanQing wrote:
> We should check whether conswitchp is registered before
> add it to registered_con_driver in con_init, or it will
> cause dual con_driver register for conswitchp.
>
> Although I haven't met it in reality, but I think it could
> happen for Embeded devices, who register platform con_driver
> earlier than call con_init.

Does that happen on those systems? Let's not add code that's never
going to be use, and is not needed, right?

thanks,

greg k-h


\
 
 \ /
  Last update: 2014-01-09 05:41    [W:0.301 / U:0.144 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site