linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] staging: sm750fb: fix permission style warning
@ 2016-11-27 16:11 Andrea Ghittino
  0 siblings, 0 replies; only message in thread
From: Andrea Ghittino @ 2016-11-27 16:11 UTC (permalink / raw)
  To: linux-fbdev

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

Signed-off-by: Andrea Ghittino <aghittino at gmail.com>
---
diff --git a/drivers/staging/sm750fb/sm750.c b/drivers/staging/sm750fb/sm750.c
index 2d22c51..2d33b80 100644
--- a/drivers/staging/sm750fb/sm750.c
+++ b/drivers/staging/sm750fb/sm750.c
@@ -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"

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-11-27 16:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-27 16:11 [PATCH] staging: sm750fb: fix permission style warning Andrea Ghittino

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).