diff options
| author | Seth Archer Brown <learc83@gmail.com> | 2013-12-05 22:59:23 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-12-08 21:01:56 -0500 |
| commit | 9058bdc3a8fbfe1a528019466df62635ef1f7a94 (patch) | |
| tree | 34154f0b02bb1d3a744918da249b709fae6b1ef1 /drivers/usb/atm | |
| parent | e10e6f433f6f737f29dc1cea83e9a03095ac5c09 (diff) | |
Usb: atm: usbatm: fixed a pointer variable format issue
Fixed a pointer variable format issue.
Signed-off-by: Seth Archer Brown <learc83@gmail.com>
Acked-by: Duncan Sands <duncan.sands@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/atm')
| -rw-r--r-- | drivers/usb/atm/usbatm.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/usb/atm/usbatm.c b/drivers/usb/atm/usbatm.c index 25a7bfcf666c..dada0146cd7f 100644 --- a/drivers/usb/atm/usbatm.c +++ b/drivers/usb/atm/usbatm.c | |||
| @@ -170,9 +170,9 @@ struct usbatm_control { | |||
| 170 | static void usbatm_atm_dev_close(struct atm_dev *atm_dev); | 170 | static void usbatm_atm_dev_close(struct atm_dev *atm_dev); |
| 171 | static int usbatm_atm_open(struct atm_vcc *vcc); | 171 | static int usbatm_atm_open(struct atm_vcc *vcc); |
| 172 | static void usbatm_atm_close(struct atm_vcc *vcc); | 172 | static void usbatm_atm_close(struct atm_vcc *vcc); |
| 173 | static int usbatm_atm_ioctl(struct atm_dev *atm_dev, unsigned int cmd, void __user * arg); | 173 | static int usbatm_atm_ioctl(struct atm_dev *atm_dev, unsigned int cmd, void __user *arg); |
| 174 | static int usbatm_atm_send(struct atm_vcc *vcc, struct sk_buff *skb); | 174 | static int usbatm_atm_send(struct atm_vcc *vcc, struct sk_buff *skb); |
| 175 | static int usbatm_atm_proc_read(struct atm_dev *atm_dev, loff_t * pos, char *page); | 175 | static int usbatm_atm_proc_read(struct atm_dev *atm_dev, loff_t *pos, char *page); |
| 176 | 176 | ||
| 177 | static struct atmdev_ops usbatm_atm_devops = { | 177 | static struct atmdev_ops usbatm_atm_devops = { |
| 178 | .dev_close = usbatm_atm_dev_close, | 178 | .dev_close = usbatm_atm_dev_close, |
| @@ -739,7 +739,7 @@ static void usbatm_atm_dev_close(struct atm_dev *atm_dev) | |||
| 739 | usbatm_put_instance(instance); /* taken in usbatm_atm_init */ | 739 | usbatm_put_instance(instance); /* taken in usbatm_atm_init */ |
| 740 | } | 740 | } |
| 741 | 741 | ||
| 742 | static int usbatm_atm_proc_read(struct atm_dev *atm_dev, loff_t * pos, char *page) | 742 | static int usbatm_atm_proc_read(struct atm_dev *atm_dev, loff_t *pos, char *page) |
| 743 | { | 743 | { |
| 744 | struct usbatm_data *instance = atm_dev->dev_data; | 744 | struct usbatm_data *instance = atm_dev->dev_data; |
| 745 | int left = *pos; | 745 | int left = *pos; |
| @@ -895,7 +895,7 @@ static void usbatm_atm_close(struct atm_vcc *vcc) | |||
| 895 | } | 895 | } |
| 896 | 896 | ||
| 897 | static int usbatm_atm_ioctl(struct atm_dev *atm_dev, unsigned int cmd, | 897 | static int usbatm_atm_ioctl(struct atm_dev *atm_dev, unsigned int cmd, |
| 898 | void __user * arg) | 898 | void __user *arg) |
| 899 | { | 899 | { |
| 900 | struct usbatm_data *instance = atm_dev->dev_data; | 900 | struct usbatm_data *instance = atm_dev->dev_data; |
| 901 | 901 | ||
