public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Usb: atm: usbatm: fixed a pointer variable format issue
@ 2013-12-06  3:59 learc83
  2013-12-06  8:24 ` Duncan Sands
  0 siblings, 1 reply; 3+ messages in thread
From: learc83 @ 2013-12-06  3:59 UTC (permalink / raw)
  To: duncan.sands; +Cc: gregkh, linux-usb, linux-kernel, learc83

Fixed a pointer variable format issue.

Signed-off-by: Seth Archer Brown <learc83@gmail.com>
---
 drivers/usb/atm/usbatm.c |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/usb/atm/usbatm.c b/drivers/usb/atm/usbatm.c
index 25a7bfc..dada014 100644
--- a/drivers/usb/atm/usbatm.c
+++ b/drivers/usb/atm/usbatm.c
@@ -170,9 +170,9 @@ struct usbatm_control {
 static void usbatm_atm_dev_close(struct atm_dev *atm_dev);
 static int usbatm_atm_open(struct atm_vcc *vcc);
 static void usbatm_atm_close(struct atm_vcc *vcc);
-static int usbatm_atm_ioctl(struct atm_dev *atm_dev, unsigned int cmd, void __user * arg);
+static int usbatm_atm_ioctl(struct atm_dev *atm_dev, unsigned int cmd, void __user *arg);
 static int usbatm_atm_send(struct atm_vcc *vcc, struct sk_buff *skb);
-static int usbatm_atm_proc_read(struct atm_dev *atm_dev, loff_t * pos, char *page);
+static int usbatm_atm_proc_read(struct atm_dev *atm_dev, loff_t *pos, char *page);
 
 static struct atmdev_ops usbatm_atm_devops = {
 	.dev_close	= usbatm_atm_dev_close,
@@ -739,7 +739,7 @@ static void usbatm_atm_dev_close(struct atm_dev *atm_dev)
 	usbatm_put_instance(instance);	/* taken in usbatm_atm_init */
 }
 
-static int usbatm_atm_proc_read(struct atm_dev *atm_dev, loff_t * pos, char *page)
+static int usbatm_atm_proc_read(struct atm_dev *atm_dev, loff_t *pos, char *page)
 {
 	struct usbatm_data *instance = atm_dev->dev_data;
 	int left = *pos;
@@ -895,7 +895,7 @@ static void usbatm_atm_close(struct atm_vcc *vcc)
 }
 
 static int usbatm_atm_ioctl(struct atm_dev *atm_dev, unsigned int cmd,
-			  void __user * arg)
+			  void __user *arg)
 {
 	struct usbatm_data *instance = atm_dev->dev_data;
 
-- 
1.7.10.4


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

* Re: [PATCH] Usb: atm: usbatm: fixed a pointer variable format issue
  2013-12-06  3:59 [PATCH] Usb: atm: usbatm: fixed a pointer variable format issue learc83
@ 2013-12-06  8:24 ` Duncan Sands
       [not found]   ` <CAFcs13FWknRxhT_ZUnirRk+O0ZeDq1TVFtgMD9hkp=aVKUnHLA@mail.gmail.com>
  0 siblings, 1 reply; 3+ messages in thread
From: Duncan Sands @ 2013-12-06  8:24 UTC (permalink / raw)
  To: learc83; +Cc: gregkh, linux-usb, linux-kernel

On 06/12/13 04:59, learc83 wrote:
> Fixed a pointer variable format issue.

This is obviously OK.

Ciao, Duncan.

>
> Signed-off-by: Seth Archer Brown <learc83@gmail.com>
> ---
>   drivers/usb/atm/usbatm.c |    8 ++++----
>   1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/drivers/usb/atm/usbatm.c b/drivers/usb/atm/usbatm.c
> index 25a7bfc..dada014 100644
> --- a/drivers/usb/atm/usbatm.c
> +++ b/drivers/usb/atm/usbatm.c
> @@ -170,9 +170,9 @@ struct usbatm_control {
>   static void usbatm_atm_dev_close(struct atm_dev *atm_dev);
>   static int usbatm_atm_open(struct atm_vcc *vcc);
>   static void usbatm_atm_close(struct atm_vcc *vcc);
> -static int usbatm_atm_ioctl(struct atm_dev *atm_dev, unsigned int cmd, void __user * arg);
> +static int usbatm_atm_ioctl(struct atm_dev *atm_dev, unsigned int cmd, void __user *arg);
>   static int usbatm_atm_send(struct atm_vcc *vcc, struct sk_buff *skb);
> -static int usbatm_atm_proc_read(struct atm_dev *atm_dev, loff_t * pos, char *page);
> +static int usbatm_atm_proc_read(struct atm_dev *atm_dev, loff_t *pos, char *page);
>
>   static struct atmdev_ops usbatm_atm_devops = {
>   	.dev_close	= usbatm_atm_dev_close,
> @@ -739,7 +739,7 @@ static void usbatm_atm_dev_close(struct atm_dev *atm_dev)
>   	usbatm_put_instance(instance);	/* taken in usbatm_atm_init */
>   }
>
> -static int usbatm_atm_proc_read(struct atm_dev *atm_dev, loff_t * pos, char *page)
> +static int usbatm_atm_proc_read(struct atm_dev *atm_dev, loff_t *pos, char *page)
>   {
>   	struct usbatm_data *instance = atm_dev->dev_data;
>   	int left = *pos;
> @@ -895,7 +895,7 @@ static void usbatm_atm_close(struct atm_vcc *vcc)
>   }
>
>   static int usbatm_atm_ioctl(struct atm_dev *atm_dev, unsigned int cmd,
> -			  void __user * arg)
> +			  void __user *arg)
>   {
>   	struct usbatm_data *instance = atm_dev->dev_data;
>
>


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

* Re: [PATCH] Usb: atm: usbatm: fixed a pointer variable format issue
       [not found]   ` <CAFcs13FWknRxhT_ZUnirRk+O0ZeDq1TVFtgMD9hkp=aVKUnHLA@mail.gmail.com>
@ 2013-12-06 15:25     ` Duncan Sands
  0 siblings, 0 replies; 3+ messages in thread
From: Duncan Sands @ 2013-12-06 15:25 UTC (permalink / raw)
  To: Seth Archer; +Cc: gregkh, linux-usb, linux-kernel

Hi Seth,

On 06/12/13 15:24, Seth Archer wrote:
> Sorry, but do you mean the patch is OK, or the original is OK and no patch
> necessary?

I meant that the patch is obviously OK.

Ciao, Duncan.

>
> -Seth
>
>
> On Fri, Dec 6, 2013 at 3:24 AM, Duncan Sands <duncan.sands@gmail.com
> <mailto:duncan.sands@gmail.com>> wrote:
>
>     On 06/12/13 04:59, learc83 wrote:
>
>         Fixed a pointer variable format issue.
>
>
>     This is obviously OK.



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

end of thread, other threads:[~2013-12-06 15:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-06  3:59 [PATCH] Usb: atm: usbatm: fixed a pointer variable format issue learc83
2013-12-06  8:24 ` Duncan Sands
     [not found]   ` <CAFcs13FWknRxhT_ZUnirRk+O0ZeDq1TVFtgMD9hkp=aVKUnHLA@mail.gmail.com>
2013-12-06 15:25     ` Duncan Sands

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