summaryrefslogtreecommitdiff
path: root/drivers/char/ipmi/ipmi_si_intf.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2018-05-09 08:15:47 -0700
committerCorey Minyard <cminyard@mvista.com>2018-09-18 16:15:33 -0500
commit445e2cbda928a3523c1c1da76788d19df52611c8 (patch)
tree517c0d9ecb32296fa1a9c217ed30c7041f3edbf2 /drivers/char/ipmi/ipmi_si_intf.c
parent05c3d056086a6217a77937b7fa0df35ec75715e6 (diff)
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_si_intf.c')
0 files changed, 0 insertions, 0 deletions