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
@ -270,19 +270,21 @@ static inline void jffs2_remove_node_refs_from_ino_list(struct jffs2_sb_info *c,
|
||||
D2({
|
||||
int i=0;
|
||||
struct jffs2_raw_node_ref *this;
|
||||
printk(KERN_DEBUG "After remove_node_refs_from_ino_list: \n" KERN_DEBUG);
|
||||
printk(KERN_DEBUG "After remove_node_refs_from_ino_list: \n");
|
||||
|
||||
this = ic->nodes;
|
||||
|
||||
printk(KERN_DEBUG);
|
||||
while(this) {
|
||||
printk( "0x%08x(%d)->", ref_offset(this), ref_flags(this));
|
||||
printk(KERN_CONT "0x%08x(%d)->",
|
||||
ref_offset(this), ref_flags(this));
|
||||
if (++i == 5) {
|
||||
printk("\n" KERN_DEBUG);
|
||||
printk(KERN_DEBUG);
|
||||
i=0;
|
||||
}
|
||||
this = this->next_in_ino;
|
||||
}
|
||||
printk("\n");
|
||||
printk(KERN_CONT "\n");
|
||||
});
|
||||
|
||||
switch (ic->class) {
|
||||
|
Reference in New Issue
Block a user