summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDerek Robson <robsonde@gmail.com>2017-06-25 13:43:56 +1200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-06-25 16:31:21 +0200
commitb8edc44c423cc5fbe42c42600c3254c51f5d8199 (patch)
tree1c93e3df7020fa64bc4048aa9b4223066b0ca65f
parent81a6a4f0921249c24b490325a178d5ac3847ea55 (diff)
downloadlinux-b8edc44c423cc5fbe42c42600c3254c51f5d8199.tar.gz
linux-b8edc44c423cc5fbe42c42600c3254c51f5d8199.zip
staging: unisys: visorhba - octal permissions
Fixed style of permissions to octal. Found using checkpatch Signed-off-by: Derek Robson <robsonde@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/unisys/visorhba/visorhba_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/unisys/visorhba/visorhba_main.c b/drivers/staging/unisys/visorhba/visorhba_main.c
index 2fd31c9762c6..a6e7a6bbc428 100644
--- a/drivers/staging/unisys/visorhba/visorhba_main.c
+++ b/drivers/staging/unisys/visorhba/visorhba_main.c
@@ -1090,7 +1090,7 @@ static int visorhba_probe(struct visor_device *dev)
goto err_scsi_remove_host;
}
devdata->debugfs_info =
- debugfs_create_file("info", S_IRUSR | S_IRGRP,
+ debugfs_create_file("info", 0440,
devdata->debugfs_dir, devdata,
&info_debugfs_fops);
if (!devdata->debugfs_info) {