summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyan Swan <ryan@ryanswan.com>2016-09-12 09:58:20 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-09-13 15:01:29 +0200
commit65f5c3ea622dfca230e96e5098603f1df9e0a902 (patch)
tree6e0578429c4245377a7e420cb74e25b371a6fd28
parentb9ac4b65b5c0b16a34c12e3f0a3edf1452d4c34a (diff)
downloadlinux-stable-65f5c3ea622dfca230e96e5098603f1df9e0a902.tar.gz
linux-stable-65f5c3ea622dfca230e96e5098603f1df9e0a902.tar.bz2
linux-stable-65f5c3ea622dfca230e96e5098603f1df9e0a902.zip
staging: vme/devices: vme_user.c: fix: converted decimal permissions to octal
Ran checkpatch.pl -f vme_user.c Fixed: ERROR: Use 4 digit octal (0777) not decimal permissions Signed-off-by: Ryan Swan <ryan@ryanswan.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/vme/devices/vme_user.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/vme/devices/vme_user.c b/drivers/staging/vme/devices/vme_user.c
index b95883bc68fe..5dd430f8f921 100644
--- a/drivers/staging/vme/devices/vme_user.c
+++ b/drivers/staging/vme/devices/vme_user.c
@@ -773,7 +773,7 @@ static void __exit vme_user_exit(void)
}
MODULE_PARM_DESC(bus, "Enumeration of VMEbus to which the driver is connected");
-module_param_array(bus, int, &bus_num, 0);
+module_param_array(bus, int, &bus_num, 0000);
MODULE_DESCRIPTION("VME User Space Access Driver");
MODULE_AUTHOR("Martyn Welch <martyn.welch@ge.com");