staging: unisys: visorhba - octal permissions
authorDerek Robson <robsonde@gmail.com>
Sun, 25 Jun 2017 01:43:56 +0000 (13:43 +1200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 Jun 2017 14:31:21 +0000 (16:31 +0200)
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>
drivers/staging/unisys/visorhba/visorhba_main.c

index 2fd31c9..a6e7a6b 100644 (file)
@@ -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) {