Staging: speakup: replace 'S_IRUGO' macro with octal 0444
PATCH 1/1 Staging: speakup: replace 'S_IRUGO' macro with octal 0444
Everyone knows what 0444 means. But one has read through docs to understand the meaning of 'S_IRUGO'.
Signed-off-by Keerthi Reddy <[email protected]>
--- drivers/staging/speakup/speakup_apollo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/speakup/speakup_apollo.c +1 -1
@@ -200,7 +200,7 @@ static void do_catch_up(struct spk_synth *synth) }module_param_named (ser, synth_apollo.ser, int,0444 ); -module_param_named (dev, synth_apollo.dev_name, charp,S_IRUGO ); +module_param_named (dev, synth_apollo.dev_name, charp,0444 );module_param_named (start, synth_apollo.startup, short,0444 );MODULE_PARM_DESC (ser,"Set the serial port for the synthesizer (0-based)." );
Signature · 1 line
2.7.4
Hello,
Quoted 2 lines · Keerthi Reddy, on jeu. 28 sept. 2017 21:08:26 +0530, wrote:
Everyone knows what 0444 means. But one has read through docs to understand the meaning of '
S_IRUGO'.
Yes. Could you do the same on all files of thedrivers/staging/speakup/ directory altogether?
Thanks,
Samuel
Quoted 7 lines · Keerthi Reddy
Everyone knows what 0444 means. But one has read through docs to understand the meaning of '
S_IRUGO'.Signed-off-by Keerthi Reddy <[email protected]>--- drivers/staging/speakup/speakup_apollo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
This change is already in my tree, please make sure you work against the correct kenel tree/branch.
thanks,
greg k-h