public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Staging: android: fix permissions style
@ 2016-09-26 21:02 Ramiro Oliveira
  2016-09-27 17:43 ` Joe Perches
  2016-09-28  9:28 ` Greg KH
  0 siblings, 2 replies; 6+ messages in thread
From: Ramiro Oliveira @ 2016-09-26 21:02 UTC (permalink / raw)
  To: gregkh, arve, riandrews, devel, linux-kernel; +Cc: Ramiro Oliveira

Change permissions from symbolic to octal.

Signed-off-by: Ramiro Oliveira <roliveir@synopsys.com>
---
 drivers/staging/android/lowmemorykiller.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/android/lowmemorykiller.c b/drivers/staging/android/lowmemorykiller.c
index 80d7adf..03b5765 100644
--- a/drivers/staging/android/lowmemorykiller.c
+++ b/drivers/staging/android/lowmemorykiller.c
@@ -204,10 +204,10 @@ device_initcall(lowmem_init);
  * not really modular, but the easiest way to keep compat with existing
  * bootargs behaviour is to continue using module_param here.
  */
-module_param_named(cost, lowmem_shrinker.seeks, int, S_IRUGO | S_IWUSR);
+module_param_named(cost, lowmem_shrinker.seeks, int, 0644);
 module_param_array_named(adj, lowmem_adj, short, &lowmem_adj_size,
 			 S_IRUGO | S_IWUSR);
 module_param_array_named(minfree, lowmem_minfree, uint, &lowmem_minfree_size,
 			 S_IRUGO | S_IWUSR);
-module_param_named(debug_level, lowmem_debug_level, uint, S_IRUGO | S_IWUSR);
+module_param_named(debug_level, lowmem_debug_level, uint, 0644);

--
2.9.3

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-09-28 15:49 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-26 21:02 [PATCH] Staging: android: fix permissions style Ramiro Oliveira
2016-09-27 17:43 ` Joe Perches
2016-09-28  9:28 ` Greg KH
2016-09-28 13:48   ` Ramiro Oliveira
2016-09-28 15:37     ` Greg KH
2016-09-28 15:49       ` Ramiro Oliveira

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox