diff options
author | Joe Perches <joe@perches.com> | 2018-05-09 18:15:47 +0300 |
---|---|---|
committer | Corey Minyard <cminyard@mvista.com> | 2018-09-19 00:15:33 +0300 |
commit | 445e2cbda928a3523c1c1da76788d19df52611c8 (patch) | |
tree | 517c0d9ecb32296fa1a9c217ed30c7041f3edbf2 /drivers/char/ipmi/ipmi_ssif.c | |
parent | 05c3d056086a6217a77937b7fa0df35ec75715e6 (diff) | |
download | linux-445e2cbda928a3523c1c1da76788d19df52611c8.tar.xz |
ipmi: msghandler: Add and use pr_fmt and dev_fmt, remove PFX
Standardize the prefixing of output messages using the pr_fmt and dev_fmt
mechanisms instead of a separate #define PFX
Miscellanea:
o Because this message prefix is very long, use a non-standard define
of #define pr_fmt(fmt) "%s" fmt, "IPMI message handler: "
which removes ~170 bytes of object code in an x86-64 defconfig with ipmi
(with even more object code reduction on 32 bit compilations)
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Diffstat (limited to 'drivers/char/ipmi/ipmi_ssif.c')
0 files changed, 0 insertions, 0 deletions