diff options
Diffstat (limited to 'drivers/usb/misc/usbtest.c')
-rw-r--r-- | drivers/usb/misc/usbtest.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/misc/usbtest.c b/drivers/usb/misc/usbtest.c index 2c4fd4d6df95..678fac86c467 100644 --- a/drivers/usb/misc/usbtest.c +++ b/drivers/usb/misc/usbtest.c | |||
@@ -1136,7 +1136,7 @@ static int verify_not_halted (int ep, struct urb *urb) | |||
1136 | dbg ("ep %02x bogus status: %04x != 0", ep, status); | 1136 | dbg ("ep %02x bogus status: %04x != 0", ep, status); |
1137 | return -EINVAL; | 1137 | return -EINVAL; |
1138 | } | 1138 | } |
1139 | retval = simple_io (urb, 1, 0, 0, __FUNCTION__); | 1139 | retval = simple_io (urb, 1, 0, 0, __func__); |
1140 | if (retval != 0) | 1140 | if (retval != 0) |
1141 | return -EINVAL; | 1141 | return -EINVAL; |
1142 | return 0; | 1142 | return 0; |
@@ -1158,7 +1158,7 @@ static int verify_halted (int ep, struct urb *urb) | |||
1158 | dbg ("ep %02x bogus status: %04x != 1", ep, status); | 1158 | dbg ("ep %02x bogus status: %04x != 1", ep, status); |
1159 | return -EINVAL; | 1159 | return -EINVAL; |
1160 | } | 1160 | } |
1161 | retval = simple_io (urb, 1, 0, -EPIPE, __FUNCTION__); | 1161 | retval = simple_io (urb, 1, 0, -EPIPE, __func__); |
1162 | if (retval != -EPIPE) | 1162 | if (retval != -EPIPE) |
1163 | return -EINVAL; | 1163 | return -EINVAL; |
1164 | retval = simple_io (urb, 1, 0, -EPIPE, "verify_still_halted"); | 1164 | retval = simple_io (urb, 1, 0, -EPIPE, "verify_still_halted"); |