Commit a906f3a
init/main.c: check if rdinit was explicitly set before printing warning
The rdinit parameter is set by default, and attempted during boot even if
not specified in the command line. Only print the warning about rdinit
being inaccessible if the rdinit value was found in command line; it's
just noise otherwise.
[[email protected]: move ramdisk_execute_command_set into __initdata]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Lillian Berry <[email protected]>
Cc: Ahmad Fatoum <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Al Viro <[email protected]>
Cc: Douglas Anderson <[email protected]>
Cc: Francesco Valla <[email protected]>
Cc: Guo Weikang <[email protected]>
Cc: Huacai Chen <[email protected]>
Cc: Huan Yang <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: "Mike Rapoport (Microsoft)" <[email protected]>
Cc: Sascha Hauer <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>1 parent 4cc67b0 commit a906f3a
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
| 165 | + | |
165 | 166 | | |
166 | 167 | | |
167 | 168 | | |
| |||
623 | 624 | | |
624 | 625 | | |
625 | 626 | | |
| 627 | + | |
626 | 628 | | |
627 | 629 | | |
628 | 630 | | |
| |||
1699 | 1701 | | |
1700 | 1702 | | |
1701 | 1703 | | |
1702 | | - | |
1703 | | - | |
| 1704 | + | |
| 1705 | + | |
| 1706 | + | |
1704 | 1707 | | |
1705 | 1708 | | |
1706 | 1709 | | |
| |||
0 commit comments