From: Derek Robson Date: Sun, 25 Jun 2017 01:43:56 +0000 (+1200) Subject: staging: unisys: visorhba - octal permissions X-Git-Tag: v4.14-rc1~623^2~60 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b8edc44c423cc5fbe42c42600c3254c51f5d8199;p=platform%2Fkernel%2Flinux-rpi.git staging: unisys: visorhba - octal permissions Fixed style of permissions to octal. Found using checkpatch Signed-off-by: Derek Robson Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/unisys/visorhba/visorhba_main.c b/drivers/staging/unisys/visorhba/visorhba_main.c index 2fd31c9..a6e7a6b 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) {