diff options
author | John Ogness <[email protected]> | 2022-04-21 23:28:43 +0206 |
---|---|---|
committer | Petr Mladek <[email protected]> | 2022-04-22 21:30:57 +0200 |
commit | 1fc0ca9e0db61882208650b3603071e9f4b5cfee (patch) | |
tree | ad15e43a7fc9b8349f70cee46ef09ea3436e0d3c /lib/test_fortify/write_overflow-memcpy.c | |
parent | 1f47e8af45fdd754c5538f8aeb7857a6c087fd6a (diff) |
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 <[email protected]>
Reviewed-by: Petr Mladek <[email protected]>
Signed-off-by: Petr Mladek <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/test_fortify/write_overflow-memcpy.c')
0 files changed, 0 insertions, 0 deletions