Commit 1fc0ca9
printk: add con_printk() macro for console details
It is useful to generate log messages that include details about
the related console. Rather than duplicate the code to assemble
the details, put that code into a macro con_printk().
Once console printers become threaded, this macro will find more
users.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Signed-off-by: Petr Mladek <pmladek@suse.com>
Link: https://lore.kernel.org/r/20220421212250.565456-9-john.ogness@linutronix.de1 parent 1f47e8a commit 1fc0ca9
1 file changed
Lines changed: 7 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3015 | 3015 | | |
3016 | 3016 | | |
3017 | 3017 | | |
| 3018 | + | |
| 3019 | + | |
| 3020 | + | |
| 3021 | + | |
| 3022 | + | |
3018 | 3023 | | |
3019 | 3024 | | |
3020 | 3025 | | |
| |||
3153 | 3158 | | |
3154 | 3159 | | |
3155 | 3160 | | |
3156 | | - | |
3157 | | - | |
3158 | | - | |
| 3161 | + | |
3159 | 3162 | | |
3160 | 3163 | | |
3161 | 3164 | | |
| |||
3174 | 3177 | | |
3175 | 3178 | | |
3176 | 3179 | | |
3177 | | - | |
3178 | | - | |
3179 | | - | |
| 3180 | + | |
3180 | 3181 | | |
3181 | 3182 | | |
3182 | 3183 | | |
| |||
0 commit comments