Skip to contentSkip to conversation

staging: sm750fb: fix permission style warning

PATCH New Andrea Ghittino 1 participant 1 message Nov 27, 2016

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: sm750fb: fix permission style warning

Fixes sm750fb user/groups permission style warning found by checkpatch.pl tool

Signed-off-by Andrea Ghittino <aghittino at gmail.com>

---

drivers/staging/sm750fb/sm750.c +1 -1
index 2d22c51..2d33b80 100644
@@ -1228,7 +1228,7 @@ static void __exit lynxfb_exit(void)
 }
 module_exit(lynxfb_exit);
 
-module_param(g_option, charp, S_IRUGO);
+module_param(g_option, charp, 0444);
 
 MODULE_PARM_DESC(g_option,
 		 "\n\t\tCommon options:\n"