Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755169AbdFYBoH (ORCPT ); Sat, 24 Jun 2017 21:44:07 -0400 Received: from mail-pf0-f194.google.com ([209.85.192.194]:33365 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754762AbdFYBoG (ORCPT ); Sat, 24 Jun 2017 21:44:06 -0400 From: Derek Robson To: david.kershner@unisys.com, gregkh@linuxfoundation.org, timothy.sell@unisys.com, david.binder@unisys.com, sameer.wadgaonkar@unisys.com, jon.frisch@unisys.com, marcos.souza.org@gmail.com Cc: sparmaintainer@unisys.com, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, Derek Robson Subject: [PATCH V3] staging: unisys: visorhba - octal permissions Date: Sun, 25 Jun 2017 13:43:56 +1200 Message-Id: <20170625014356.30078-1-robsonde@gmail.com> X-Mailer: git-send-email 2.13.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 846 Lines: 25 Fixed style of permissions to octal. Found using checkpatch Signed-off-by: Derek Robson --- V1 and V2 had vauge subject lines drivers/staging/unisys/visorhba/visorhba_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.13.0