mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
To: balbi@ti.com, gregkh@linuxfoundation.org,
	linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org,
	joe@perches.com, auttamchandani@logicube.com,
	stern@rowland.harvard.edu
Cc: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Subject: [PATCH 2/5] usb: gadget: net2280: Use S_I macros
Date: Mon, 19 May 2014 21:11:30 +0200	[thread overview]
Message-ID: <1400526693-29776-3-git-send-email-ricardo.ribalda@gmail.com> (raw)
In-Reply-To: <1400526693-29776-1-git-send-email-ricardo.ribalda@gmail.com>

Instead of octal notation, to be consistent around the file.

Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
---
 drivers/usb/gadget/net2280.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/usb/gadget/net2280.c b/drivers/usb/gadget/net2280.c
index c3205ec..5b2ab68 100644
--- a/drivers/usb/gadget/net2280.c
+++ b/drivers/usb/gadget/net2280.c
@@ -111,7 +111,7 @@ module_param(use_msi, bool, S_IRUGO);
 static ushort fifo_mode = 0;
 
 /* "modprobe net2280 fifo_mode=1" etc */
-module_param (fifo_mode, ushort, 0644);
+module_param(fifo_mode, ushort, S_IRUGO | S_IWUSR);
 
 /* enable_suspend -- When enabled, the driver will respond to
  * USB suspend requests by powering down the NET2280.  Otherwise,
@@ -125,7 +125,7 @@ module_param (enable_suspend, bool, S_IRUGO);
 
 /* force full-speed operation */
 static bool full_speed;
-module_param(full_speed, bool, 0444);
+module_param(full_speed, bool, S_IRUGO);
 MODULE_PARM_DESC(full_speed, "force full-speed mode -- for testing only!");
 
 #define	DIR_STRING(bAddress) (((bAddress) & USB_DIR_IN) ? "in" : "out")
-- 
2.0.0.rc2


  parent reply	other threads:[~2014-05-19 19:13 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-19 19:11 [PATCH 0/5] usb: gadget: net2280: Code cleanout Ricardo Ribalda Delgado
2014-05-19 19:11 ` [PATCH 1/5] usb: gadget: net2280: Refactor queues_show Ricardo Ribalda Delgado
2014-05-19 19:11 ` Ricardo Ribalda Delgado [this message]
2014-05-19 19:30   ` [PATCH 2/5] usb: gadget: net2280: Use S_I macros Alan Stern
2014-05-19 19:35     ` Ricardo Ribalda Delgado
2014-05-19 20:03       ` Alan Stern
2014-05-19 19:11 ` [PATCH 3/5] usb: gadget: net2280: Pass checkpacth.pl test Ricardo Ribalda Delgado
2014-05-19 19:39   ` Alan Stern
2014-05-20  8:52     ` David Laight
2014-05-20  8:55       ` Ricardo Ribalda Delgado
2014-05-19 19:11 ` [PATCH 4/5] usb: gadget: net2280: Code Cleanup Ricardo Ribalda Delgado
2014-05-19 19:43   ` Alan Stern
2014-05-19 19:44     ` Ricardo Ribalda Delgado
2014-05-19 20:02       ` Alan Stern
2014-05-19 19:11 ` [PATCH 5/5] usb: gadget: net2280: Use pr_* function Ricardo Ribalda Delgado
2014-05-19 19:16   ` Joe Perches
2014-05-19 19:33     ` Ricardo Ribalda Delgado
2014-05-19 19:42       ` Joe Perches
2014-05-19 19:43         ` Ricardo Ribalda Delgado
2014-05-19 19:44   ` Alan Stern
2014-05-19 20:03     ` Ricardo Ribalda Delgado
2014-05-19 20:17       ` Alan Stern
2014-05-19 20:29         ` Joe Perches
2014-05-19 20:41           ` Ricardo Ribalda Delgado

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1400526693-29776-3-git-send-email-ricardo.ribalda@gmail.com \
    --to=ricardo.ribalda@gmail.com \
    --cc=auttamchandani@logicube.com \
    --cc=balbi@ti.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=joe@perches.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=stern@rowland.harvard.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®