Skip to contentSkip to conversation

Staging: speakup: Change symbolic permission from 'S_IRUGO' to '0444'

PATCH Julia Lawall 1 participant 1 message Sep 10, 2017 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 20170910022921.GA24582@meghana-HP-Pavilion-Notebook

Julia Lawall

author Acked-by
#1 lore raw
Quoted 4 lines · Meghana Madhyastha

This fixes the following warning reported by checkpath.pl.
WARNING: Symbolic permissions 'S_IRUGO' are not preferred. Consider using octal permissions '0444'.

Quoted 34 lines

---

Changes in v2:
- Make the commit message more clearer and the title more concise

Changes in v3:
-Mention the changes below ---

 drivers/staging/speakup/speakup_acntsa.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/speakup/speakup_acntsa.c +1 -2
index 0e10404..4331584 100644
@@ -136,7 +136,7 @@ static int synth_probe(struct spk_synth *synth)
 }
 
 module_param_named(ser, synth_acntsa.ser, int, 0444);
-module_param_named(dev, synth_acntsa.dev_name, charp, S_IRUGO);
+module_param_named(dev, synth_acntsa.dev_name, charp, 0444);
 module_param_named(start, synth_acntsa.startup, short, 0444);
 
 MODULE_PARM_DESC(ser, "Set the serial port for the synthesizer (0-based).");
--

2.7.4

--
You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/20170910022921.GA24582%40meghana-HP-Pavilion-Notebook.
For more options, visit https://groups.google.com/d/optout.