[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1409932944-19528-1-git-send-email-voytikd@gmail.com>
Date: Fri, 5 Sep 2014 20:02:24 +0400
From: Dmitry Voytik <voytikd@...il.com>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: linux-kernel@...r.kernel.org, Dmitry Voytik <voytikd@...il.com>
Subject: [PATCH] staging: binder: cmd_name must be initialised
Variable cmd_name must be initialised as variable name is.
Signed-off-by: Dmitry Voytik <voytikd@...il.com>
---
drivers/staging/android/binder.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/android/binder.c b/drivers/staging/android/binder.c
index 4f34dc0..93b067f 100644
--- a/drivers/staging/android/binder.c
+++ b/drivers/staging/android/binder.c
@@ -2233,7 +2233,7 @@ retry:
case BINDER_WORK_NODE: {
struct binder_node *node = container_of(w, struct binder_node, work);
uint32_t cmd = BR_NOOP;
- const char *cmd_name;
+ const char *cmd_name = "BR_NOOP";
int strong = node->internal_strong_refs || node->local_strong_refs;
int weak = !hlist_empty(&node->refs) || node->local_weak_refs || strong;
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists