summaryrefslogtreecommitdiffstats
path: root/drivers/base/devtmpfs.c
diff options
context:
space:
mode:
authorAl Viro2019-06-01 02:09:15 +0200
committerAl Viro2019-07-05 04:01:59 +0200
commit33488845f211afcdb7e5c00a3152890e06cdc78e (patch)
tree8536b5849fddb5c6bb912a67b23eee42c8661ea5 /drivers/base/devtmpfs.c
parentdon't bother with registering rootfs (diff)
downloadkernel-qcow2-linux-33488845f211afcdb7e5c00a3152890e06cdc78e.tar.gz
kernel-qcow2-linux-33488845f211afcdb7e5c00a3152890e06cdc78e.tar.xz
kernel-qcow2-linux-33488845f211afcdb7e5c00a3152890e06cdc78e.zip
constify ksys_mount() string arguments
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/base/devtmpfs.c')
-rw-r--r--drivers/base/devtmpfs.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/base/devtmpfs.c b/drivers/base/devtmpfs.c
index 0dbc43068eeb..ba5c80903efe 100644
--- a/drivers/base/devtmpfs.c
+++ b/drivers/base/devtmpfs.c
@@ -357,8 +357,7 @@ int devtmpfs_mount(const char *mntdir)
if (!thread)
return 0;
- err = ksys_mount("devtmpfs", (char *)mntdir, "devtmpfs", MS_SILENT,
- NULL);
+ err = ksys_mount("devtmpfs", mntdir, "devtmpfs", MS_SILENT, NULL);
if (err)
printk(KERN_INFO "devtmpfs: error mounting %i\n", err);
else