Messages in this thread |  | | Date | Tue, 28 Jan 2020 18:25:57 +0900 | From | Sergey Senozhatsky <> | Subject | Re: [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.
-ss
|  |