mirror of https://gitee.com/openkylin/linux.git
staging: speakup: fix printk KERN_LEVEL facility level warning
Replace printk with pr_info to solve checkpatch.pl warning: " WARNING: printk() should include KERN_<LEVEL> facility level" Signed-off-by: Jules Irenge <jbi.octave@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
7af9181020
commit
c9da300ab6
|
@ -99,7 +99,7 @@ static void report_char_chartab_status(int reset, int received, int used,
|
|||
snprintf(buf + (len - 1), sizeof(buf) - (len - 1),
|
||||
" with %d reject%s\n",
|
||||
rejected, rejected > 1 ? "s" : "");
|
||||
printk(buf);
|
||||
pr_info("%s", buf);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -744,7 +744,7 @@ static void report_msg_status(int reset, int received, int used,
|
|||
snprintf(buf + (len - 1), sizeof(buf) - (len - 1),
|
||||
" with %d reject%s\n",
|
||||
rejected, rejected > 1 ? "s" : "");
|
||||
printk(buf);
|
||||
pr_info("%s", buf);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue