* [PATCH] staging: media: use octal permissions
@ 2017-02-15 22:27 dc
2017-02-16 9:33 ` Sean Young
0 siblings, 1 reply; 2+ messages in thread
From: dc @ 2017-02-15 22:27 UTC (permalink / raw)
To: linux-media; +Cc: jarod, mchehab
Replace all instances of permission macros with octal permissions
Signed-off-by: David Cako <dc@cako.io>
---
drivers/staging/media/lirc/lirc_parallel.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/staging/media/lirc/lirc_parallel.c
b/drivers/staging/media/lirc/lirc_parallel.c
index 0a43bac2b..94d2c61 100644
--- a/drivers/staging/media/lirc/lirc_parallel.c
+++ b/drivers/staging/media/lirc/lirc_parallel.c
@@ -756,17 +756,17 @@ MODULE_DESCRIPTION("Infrared receiver driver for
parallel ports.");
MODULE_AUTHOR("Christoph Bartelmus");
MODULE_LICENSE("GPL");
-module_param(io, int, S_IRUGO);
+module_param(io, int, 0444);
MODULE_PARM_DESC(io, "I/O address base (0x3bc, 0x378 or 0x278)");
-module_param(irq, int, S_IRUGO);
+module_param(irq, int, 0444);
MODULE_PARM_DESC(irq, "Interrupt (7 or 5)");
-module_param(tx_mask, int, S_IRUGO);
+module_param(tx_mask, int, 0444);
MODULE_PARM_DESC(tx_mask, "Transmitter mask (default: 0x01)");
-module_param(debug, bool, S_IRUGO | S_IWUSR);
+module_param(debug, bool, 0644);
MODULE_PARM_DESC(debug, "Enable debugging messages");
-module_param(check_pselecd, bool, S_IRUGO | S_IWUSR);
+module_param(check_pselecd, bool, 0644);
MODULE_PARM_DESC(check_pselecd, "Check for printer (default: 0)");
--
2.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] staging: media: use octal permissions
2017-02-15 22:27 [PATCH] staging: media: use octal permissions dc
@ 2017-02-16 9:33 ` Sean Young
0 siblings, 0 replies; 2+ messages in thread
From: Sean Young @ 2017-02-16 9:33 UTC (permalink / raw)
To: dc; +Cc: linux-media, jarod, mchehab
On Wed, Feb 15, 2017 at 04:27:01PM -0600, dc@cako.io wrote:
> Replace all instances of permission macros with octal permissions
>
> Signed-off-by: David Cako <dc@cako.io>
> ---
> drivers/staging/media/lirc/lirc_parallel.c | 10 +++++-----
> 1 file changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/drivers/staging/media/lirc/lirc_parallel.c
lirc_parallel has been dropped, I'm afraid so the patch no longer applies.
Thanks
Sean
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-02-16 9:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-15 22:27 [PATCH] staging: media: use octal permissions dc
2017-02-16 9:33 ` Sean Young
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.