Skip to content

Commit

Permalink
staging: android: Fix two checkpatch issues in binder.c
Browse files Browse the repository at this point in the history
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: Cruz Julian Bishop <cruzjbishop@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Cruz Julian Bishop authored and Greg Kroah-Hartman committed Jan 7, 2013
1 parent 0f5afdd commit 167bccb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/staging/android/binder.c
Original file line number Diff line number Diff line change
Expand Up @@ -3227,7 +3227,7 @@ static void print_binder_proc(struct seq_file *m,
m->count = start_pos;
}

static const char *binder_return_strings[] = {
static const char * const binder_return_strings[] = {
"BR_ERROR",
"BR_OK",
"BR_TRANSACTION",
Expand All @@ -3248,7 +3248,7 @@ static const char *binder_return_strings[] = {
"BR_FAILED_REPLY"
};

static const char *binder_command_strings[] = {
static const char * const binder_command_strings[] = {
"BC_TRANSACTION",
"BC_REPLY",
"BC_ACQUIRE_RESULT",
Expand All @@ -3268,7 +3268,7 @@ static const char *binder_command_strings[] = {
"BC_DEAD_BINDER_DONE"
};

static const char *binder_objstat_strings[] = {
static const char * const binder_objstat_strings[] = {
"proc",
"thread",
"node",
Expand Down

0 comments on commit 167bccb

Please sign in to comment.