Browse Source

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>
Derek Robson 8 years ago
parent
commit
b8edc44c42
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/staging/unisys/visorhba/visorhba_main.c

+ 1 - 1
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) {