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
@ -619,7 +619,7 @@ sg_write(struct file *filp, const char __user *buf, size_t count, loff_t * ppos)
|
||||
if (strcmp(current->comm, cmd) && printk_ratelimit()) {
|
||||
printk(KERN_WARNING
|
||||
"sg_write: data in/out %d/%d bytes for SCSI command 0x%x--"
|
||||
"guessing data in;\n" KERN_WARNING " "
|
||||
"guessing data in;\n "
|
||||
"program %s not setting count and/or reply_len properly\n",
|
||||
old_hdr.reply_len - (int)SZ_SG_HEADER,
|
||||
input_size, (unsigned int) cmnd[0],
|
||||
|
Reference in New Issue
Block a user