projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
MALI: utgard: upgrade DDK to r6p1-01rel0
[firefly-linux-kernel-4.4.55.git]
/
kernel
/
printk
/
braille.c
diff --git
a/kernel/printk/braille.c
b/kernel/printk/braille.c
index 276762f3a46078141117e5810c1afc964e869ec9..d5760c42f042f4accfb65de23784bcaa877d9b00 100644
(file)
--- a/
kernel/printk/braille.c
+++ b/
kernel/printk/braille.c
@@
-9,10
+9,10
@@
char *_braille_console_setup(char **str, char **brl_options)
{
char *_braille_console_setup(char **str, char **brl_options)
{
- if (!
mem
cmp(*str, "brl,", 4)) {
+ if (!
strn
cmp(*str, "brl,", 4)) {
*brl_options = "";
*str += 4;
*brl_options = "";
*str += 4;
- } else if (!
memcmp(
str, "brl=", 4)) {
+ } else if (!
strncmp(*
str, "brl=", 4)) {
*brl_options = *str + 4;
*str = strchr(*brl_options, ',');
if (!*str)
*brl_options = *str + 4;
*str = strchr(*brl_options, ',');
if (!*str)