diff options
author | Joe Perches | 2020-04-03 14:43:17 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2020-04-23 17:05:37 +0200 |
commit | aa3d6e7c49e3b480aa9db0e9924736726a6f75aa (patch) | |
tree | a524d4c15c0df94f1cb17a764aec43cec3f621f6 /kernel/printk | |
parent | decf26f6ec25dac868782dc1751623a87d147831 (diff) |
parport: Use more comon logging styles
Some of the logging can be poorly formatted because of unexpected
line breaks given printks without KERN_CONT that should be pr_cont.
Miscellanea:
o Remove unnecessary spaces between function name and open parenthesis
o Convert bare printks to pr_<level> where appropriate
o Convert embedded function names to use %s, __func__
o Coalesce formats
o Realign arguments
o Use do {} while (0) in a macro and not a bare if
Signed-off-by: Joe Perches <joe@perches.com>
Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Link: https://lore.kernel.org/r/20200403134325.11523-3-sudipm.mukherjee@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/printk')
0 files changed, 0 insertions, 0 deletions