Commit 9058bdc3 authored by Seth Archer Brown's avatar Seth Archer Brown Committed by Greg Kroah-Hartman

Usb: atm: usbatm: fixed a pointer variable format issue

Fixed a pointer variable format issue.
Signed-off-by: default avatarSeth Archer Brown <learc83@gmail.com>
Acked-by: default avatarDuncan Sands <duncan.sands@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e10e6f43
...@@ -170,9 +170,9 @@ struct usbatm_control { ...@@ -170,9 +170,9 @@ struct usbatm_control {
static void usbatm_atm_dev_close(struct atm_dev *atm_dev); static void usbatm_atm_dev_close(struct atm_dev *atm_dev);
static int usbatm_atm_open(struct atm_vcc *vcc); static int usbatm_atm_open(struct atm_vcc *vcc);
static void usbatm_atm_close(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_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 = { static struct atmdev_ops usbatm_atm_devops = {
.dev_close = usbatm_atm_dev_close, .dev_close = usbatm_atm_dev_close,
...@@ -739,7 +739,7 @@ static void usbatm_atm_dev_close(struct atm_dev *atm_dev) ...@@ -739,7 +739,7 @@ static void usbatm_atm_dev_close(struct atm_dev *atm_dev)
usbatm_put_instance(instance); /* taken in usbatm_atm_init */ 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; struct usbatm_data *instance = atm_dev->dev_data;
int left = *pos; int left = *pos;
...@@ -895,7 +895,7 @@ static void usbatm_atm_close(struct atm_vcc *vcc) ...@@ -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, 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; struct usbatm_data *instance = atm_dev->dev_data;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment