[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <51e5d355720c0d03ae81dd4839fb1d75ad1c9f47.1483826433.git.robsonde@gmail.com>
Date: Sun, 8 Jan 2017 11:08:22 +1300
From: Derek Robson <robsonde@...il.com>
To: david.kershner@...sys.com, gregkh@...uxfoundation.org,
Timothy.Sell@...sys.com
Cc: sparmaintainer@...sys.com, devel@...verdev.osuosl.org,
linux-kernel@...r.kernel.org, Derek Robson <robsonde@...il.com>
Subject: [PATCH v2 2/2] Staging: unisys: visorbus: visorchipset.c: style fix
Changed file permissions to octal sytle.
Found using checkpatch.
Acked-by: David Kershner <david.kershner@...sys.com>
Signed-off-by: Derek Robson <robsonde@...il.com>
---
Version 1 had duplicated subject/commit message, fixed in v2
drivers/staging/unisys/visorbus/visorchipset.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/unisys/visorbus/visorchipset.c b/drivers/staging/unisys/visorbus/visorchipset.c
index d7148c351d3f..66944e7534e9 100644
--- a/drivers/staging/unisys/visorbus/visorchipset.c
+++ b/drivers/staging/unisys/visorbus/visorchipset.c
@@ -2277,7 +2277,7 @@ static void exit_unisys(void)
acpi_bus_unregister_driver(&unisys_acpi_driver);
}
-module_param_named(major, visorchipset_major, int, S_IRUGO);
+module_param_named(major, visorchipset_major, int, 0444);
MODULE_PARM_DESC(visorchipset_major,
"major device number to use for the device node");
--
2.11.0
Powered by blists - more mailing lists