[lkml]   [2020]   [Jan]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH v3 4/5] console: Avoid positive return code from unregister_console()
On (20/01/28 11:22), Andy Shevchenko wrote:
> > Console is not on the console_drivers list. Why does !ENABLED case
> > require extra handling?
> It's mirroring (to some extend) the register_console() abort conditions.
> > What about the case when console is ENABLED
> > but still not registered?
> What about when console is ENABLED and we call register_console()?

I think that ENABLED bit makes sense only when console is on the list.
Otherwise, I suspect, nothing will be able to access the console.


 \ /
  Last update: 2020-01-28 10:26    [W:0.099 / U:2.828 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site