Skip to contentSkip to conversation

staging: unisys: visorhba - octal permissions

PATCH New Derek Robson 1 participant 1 message Jun 25, 2017 Staging

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 staging: unisys: visorhba - octal permissions

Fixed style of permissions to octal.
Found using checkpatch

---
V1 and V2 had vauge subject lines

 drivers/staging/unisys/visorhba/visorhba_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/unisys/visorhba/visorhba_main.c +1 -1
index 2fd31c9762c6..a6e7a6bbc428 100644
@@ -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) {
Signature · 1 line
2.13.0