Commit c9da300a authored by Jules Irenge's avatar Jules Irenge Committed by Greg Kroah-Hartman

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: default avatarJules Irenge <jbi.octave@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 7af91810
...@@ -99,7 +99,7 @@ static void report_char_chartab_status(int reset, int received, int used, ...@@ -99,7 +99,7 @@ static void report_char_chartab_status(int reset, int received, int used,
snprintf(buf + (len - 1), sizeof(buf) - (len - 1), snprintf(buf + (len - 1), sizeof(buf) - (len - 1),
" with %d reject%s\n", " with %d reject%s\n",
rejected, rejected > 1 ? "s" : ""); 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, ...@@ -744,7 +744,7 @@ static void report_msg_status(int reset, int received, int used,
snprintf(buf + (len - 1), sizeof(buf) - (len - 1), snprintf(buf + (len - 1), sizeof(buf) - (len - 1),
" with %d reject%s\n", " with %d reject%s\n",
rejected, rejected > 1 ? "s" : ""); rejected, rejected > 1 ? "s" : "");
printk(buf); pr_info("%s", buf);
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment