2016-11-10 01:17:29

by Walt Feasel

[permalink] [raw]
Subject: [PATCH] [STYLE] staging:braille ERROR: Use 4 digit octal

Fixed one 48: ERROR: Use 4 digit octal (0777) not decimal permissions
per checkpatch.

Signed-off-by: Walt <[email protected]>
---
drivers/accessibility/braille/braille_console.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/accessibility/braille/braille_console.c b/drivers/accessibility/braille/braille_console.c
index dc34a5b..7ac3d5f 100644
--- a/drivers/accessibility/braille/braille_console.c
+++ b/drivers/accessibility/braille/braille_console.c
@@ -45,7 +45,7 @@ MODULE_LICENSE("GPL");

/* Emit various sounds */
static bool sound;
-module_param(sound, bool, 0);
+module_param(sound, bool, 0000);
MODULE_PARM_DESC(sound, "emit sounds");

static void beep(unsigned int freq)
--
2.1.4