Commit a5a763b
printk: Set console_set_on_cmdline=1 when __add_preferred_console() is called with user_specified == true
In case of using console="" or console=null
set console_set_on_cmdline=1 to disable "stdout-path" node from DT.
We basically need to set it every time when __add_preferred_console()
is called with parameter 'user_specified' set.
Therefore we can move setting it into a helper function that is
called from __add_preferred_console().
Suggested-by: Petr Mladek <[email protected]>
Signed-off-by: Andre Kalb <[email protected]>
Reviewed-by: Petr Mladek <[email protected]>
Reviewed-by: Sergey Senozhatsky <[email protected]>
Signed-off-by: Petr Mladek <[email protected]>
Link: https://lore.kernel.org/r/YgzU4ho8l6XapyG2@pc66821 parent 96b02f2 commit a5a763b
1 file changed
+16
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2323 | 2323 | | |
2324 | 2324 | | |
2325 | 2325 | | |
| 2326 | + | |
| 2327 | + | |
| 2328 | + | |
| 2329 | + | |
| 2330 | + | |
| 2331 | + | |
| 2332 | + | |
| 2333 | + | |
| 2334 | + | |
| 2335 | + | |
| 2336 | + | |
| 2337 | + | |
| 2338 | + | |
| 2339 | + | |
2326 | 2340 | | |
2327 | 2341 | | |
2328 | 2342 | | |
| |||
2339 | 2353 | | |
2340 | 2354 | | |
2341 | 2355 | | |
2342 | | - | |
2343 | | - | |
| 2356 | + | |
2344 | 2357 | | |
2345 | 2358 | | |
2346 | 2359 | | |
| |||
2350 | 2363 | | |
2351 | 2364 | | |
2352 | 2365 | | |
2353 | | - | |
| 2366 | + | |
2354 | 2367 | | |
2355 | 2368 | | |
2356 | 2369 | | |
| |||
2416 | 2429 | | |
2417 | 2430 | | |
2418 | 2431 | | |
2419 | | - | |
2420 | 2432 | | |
2421 | 2433 | | |
2422 | 2434 | | |
| |||
0 commit comments