aboutsummaryrefslogtreecommitdiff
path: root/drivers/base/devtmpfs.c
diff options
context:
space:
mode:
authorTony Lindgren <[email protected]>2018-11-08 09:57:42 -0800
committerTony Lindgren <[email protected]>2018-11-08 09:57:42 -0800
commit07fa3fa2572f2dee85beb8137f90ccf33d7206af (patch)
tree0cec1fca7425cd6c423c53c4581ea2a9776ed411 /drivers/base/devtmpfs.c
parent4ed0dfe3cf39a97cd0ed532212b5e55e9752fe3f (diff)
parent651022382c7f8da46cb4872a545ee1da6d097d2a (diff)
Merge tag 'v4.20-rc1' into omap-for-v4.21/dt-ti-sysc
Linux 4.20-rc1
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 f7768077e817..b93fc862d365 100644
--- a/drivers/base/devtmpfs.c
+++ b/drivers/base/devtmpfs.c
@@ -252,7 +252,7 @@ static int dev_rmdir(const char *name)
static int delete_path(const char *nodepath)
{
- const char *path;
+ char *path;
int err = 0;
path = kstrdup(nodepath, GFP_KERNEL);