Commit 167bccbd authored by Cruz Julian Bishop's avatar Cruz Julian Bishop Committed by Greg Kroah-Hartman

staging: android: Fix two checkpatch issues in binder.c

This fixes two instances of
"static const char * array should probably be static const char * const"

I have seen other commits doing this in other files, so I am
assuming it should be done here as well.

Please tell me if this is wrong :)
Signed-off-by: default avatarCruz Julian Bishop <cruzjbishop@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 0f5afdd2
...@@ -3227,7 +3227,7 @@ static void print_binder_proc(struct seq_file *m, ...@@ -3227,7 +3227,7 @@ static void print_binder_proc(struct seq_file *m,
m->count = start_pos; m->count = start_pos;
} }
static const char *binder_return_strings[] = { static const char * const binder_return_strings[] = {
"BR_ERROR", "BR_ERROR",
"BR_OK", "BR_OK",
"BR_TRANSACTION", "BR_TRANSACTION",
...@@ -3248,7 +3248,7 @@ static const char *binder_return_strings[] = { ...@@ -3248,7 +3248,7 @@ static const char *binder_return_strings[] = {
"BR_FAILED_REPLY" "BR_FAILED_REPLY"
}; };
static const char *binder_command_strings[] = { static const char * const binder_command_strings[] = {
"BC_TRANSACTION", "BC_TRANSACTION",
"BC_REPLY", "BC_REPLY",
"BC_ACQUIRE_RESULT", "BC_ACQUIRE_RESULT",
...@@ -3268,7 +3268,7 @@ static const char *binder_command_strings[] = { ...@@ -3268,7 +3268,7 @@ static const char *binder_command_strings[] = {
"BC_DEAD_BINDER_DONE" "BC_DEAD_BINDER_DONE"
}; };
static const char *binder_objstat_strings[] = { static const char * const binder_objstat_strings[] = {
"proc", "proc",
"thread", "thread",
"node", "node",
......
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