summaryrefslogtreecommitdiff
path: root/drivers/base/devtmpfs.c
diff options
context:
space:
mode:
authorLarry Finger <Larry.Finger@lwfinger.net>2011-08-04 12:04:12 -0500
committerLarry Finger <Larry.Finger@lwfinger.net>2011-08-04 12:04:12 -0500
commitc25bdbe2886327aedc2248c7227931eaee483f25 (patch)
tree98e82dcf8cbaec4ae27e31c3e85463065648aa41 /drivers/base/devtmpfs.c
parent275d38585c742acdd6b8ab20f2588552f04c5d31 (diff)
parentc027a474a68065391c8773f6e83ed5412657e369 (diff)
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging-2.6
Diffstat (limited to 'drivers/base/devtmpfs.c')
-rw-r--r--drivers/base/devtmpfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/devtmpfs.c b/drivers/base/devtmpfs.c
index b89fffc1d777..33e1bed68fdd 100644
--- a/drivers/base/devtmpfs.c
+++ b/drivers/base/devtmpfs.c
@@ -166,7 +166,7 @@ static int create_path(const char *nodepath)
{
char *path;
char *s;
- int err;
+ int err = 0;
/* parent directories do not exist, create them */
path = kstrdup(nodepath, GFP_KERNEL);