|
@@ -475,11 +475,11 @@ static void snoop_urb(struct usb_device *udev,
|
|
|
|
|
|
if (userurb) { /* Async */
|
|
|
if (when == SUBMIT)
|
|
|
- dev_info(&udev->dev, "userurb %p, ep%d %s-%s, "
|
|
|
+ dev_info(&udev->dev, "userurb %pK, ep%d %s-%s, "
|
|
|
"length %u\n",
|
|
|
userurb, ep, t, d, length);
|
|
|
else
|
|
|
- dev_info(&udev->dev, "userurb %p, ep%d %s-%s, "
|
|
|
+ dev_info(&udev->dev, "userurb %pK, ep%d %s-%s, "
|
|
|
"actual_length %u status %d\n",
|
|
|
userurb, ep, t, d, length,
|
|
|
timeout_or_status);
|
|
@@ -1895,7 +1895,7 @@ static int proc_reapurb(struct usb_dev_state *ps, void __user *arg)
|
|
|
if (as) {
|
|
|
int retval;
|
|
|
|
|
|
- snoop(&ps->dev->dev, "reap %p\n", as->userurb);
|
|
|
+ snoop(&ps->dev->dev, "reap %pK\n", as->userurb);
|
|
|
retval = processcompl(as, (void __user * __user *)arg);
|
|
|
free_async(as);
|
|
|
return retval;
|
|
@@ -1912,7 +1912,7 @@ static int proc_reapurbnonblock(struct usb_dev_state *ps, void __user *arg)
|
|
|
|
|
|
as = async_getcompleted(ps);
|
|
|
if (as) {
|
|
|
- snoop(&ps->dev->dev, "reap %p\n", as->userurb);
|
|
|
+ snoop(&ps->dev->dev, "reap %pK\n", as->userurb);
|
|
|
retval = processcompl(as, (void __user * __user *)arg);
|
|
|
free_async(as);
|
|
|
} else {
|
|
@@ -2043,7 +2043,7 @@ static int proc_reapurb_compat(struct usb_dev_state *ps, void __user *arg)
|
|
|
if (as) {
|
|
|
int retval;
|
|
|
|
|
|
- snoop(&ps->dev->dev, "reap %p\n", as->userurb);
|
|
|
+ snoop(&ps->dev->dev, "reap %pK\n", as->userurb);
|
|
|
retval = processcompl_compat(as, (void __user * __user *)arg);
|
|
|
free_async(as);
|
|
|
return retval;
|
|
@@ -2060,7 +2060,7 @@ static int proc_reapurbnonblock_compat(struct usb_dev_state *ps, void __user *ar
|
|
|
|
|
|
as = async_getcompleted(ps);
|
|
|
if (as) {
|
|
|
- snoop(&ps->dev->dev, "reap %p\n", as->userurb);
|
|
|
+ snoop(&ps->dev->dev, "reap %pK\n", as->userurb);
|
|
|
retval = processcompl_compat(as, (void __user * __user *)arg);
|
|
|
free_async(as);
|
|
|
} else {
|
|
@@ -2489,7 +2489,7 @@ static long usbdev_do_ioctl(struct file *file, unsigned int cmd,
|
|
|
#endif
|
|
|
|
|
|
case USBDEVFS_DISCARDURB:
|
|
|
- snoop(&dev->dev, "%s: DISCARDURB %p\n", __func__, p);
|
|
|
+ snoop(&dev->dev, "%s: DISCARDURB %pK\n", __func__, p);
|
|
|
ret = proc_unlinkurb(ps, p);
|
|
|
break;
|
|
|
|