Remove multiple KERN_ prefixes from printk formats
Commit 5fd29d6ccb
("printk: clean up
handling of log-levels and newlines") changed printk semantics. printk
lines with multiple KERN_<level> prefixes are no longer emitted as
before the patch.
<level> is now included in the output on each additional use.
Remove all uses of multiple KERN_<level>s in formats.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
committed by
Linus Torvalds
parent
e3288775ff
commit
ad361c9884
@@ -85,10 +85,11 @@ static void dump_iic_regs(const char* header, struct ibm_iic_private* dev)
|
||||
{
|
||||
volatile struct iic_regs __iomem *iic = dev->vaddr;
|
||||
printk(KERN_DEBUG "ibm-iic%d: %s\n", dev->idx, header);
|
||||
printk(KERN_DEBUG " cntl = 0x%02x, mdcntl = 0x%02x\n"
|
||||
KERN_DEBUG " sts = 0x%02x, extsts = 0x%02x\n"
|
||||
KERN_DEBUG " clkdiv = 0x%02x, xfrcnt = 0x%02x\n"
|
||||
KERN_DEBUG " xtcntlss = 0x%02x, directcntl = 0x%02x\n",
|
||||
printk(KERN_DEBUG
|
||||
" cntl = 0x%02x, mdcntl = 0x%02x\n"
|
||||
" sts = 0x%02x, extsts = 0x%02x\n"
|
||||
" clkdiv = 0x%02x, xfrcnt = 0x%02x\n"
|
||||
" xtcntlss = 0x%02x, directcntl = 0x%02x\n",
|
||||
in_8(&iic->cntl), in_8(&iic->mdcntl), in_8(&iic->sts),
|
||||
in_8(&iic->extsts), in_8(&iic->clkdiv), in_8(&iic->xfrcnt),
|
||||
in_8(&iic->xtcntlss), in_8(&iic->directcntl));
|
||||
|
Reference in New Issue
Block a user