]> git.openfabrics.org - ~emulex/infiniband.git/commit
params: replace printk(KERN_<LVL>...) with pr_<lvl>(...)
authorJim Cromie <jim.cromie@gmail.com>
Fri, 4 May 2012 00:22:44 +0000 (18:22 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 5 May 2012 00:28:18 +0000 (17:28 -0700)
commitb5f3abf950f16fa615dc621e38eec63b2cc67946
tree5892a8507d5e6bfd1e5780f05eb5eaca2dd2ca7f
parent04db6e5fddca55186b6a74339a62c800150648bc
params: replace printk(KERN_<LVL>...) with pr_<lvl>(...)

I left 1 printk which uses __FILE__, __LINE__ explicitly, which should
not be subject to generic preferences expressed via pr_fmt().

+ tweaks suggested by Joe Perches:
- add doing to irq-enabled warning, like others.  It wont happen often..
- change sysfs failure crit, not just err, make it 1 line in logs.
- coalese 2 format fragments into 1 >80 char line

cc: Joe Perches <joe@perches.com>
Signed-off-by: Jim Cromie <jim.cromie@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
kernel/params.c