diff options
author | Jai Krishna <rjk1024@gmail.com> | 2016-10-25 11:02:32 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-10-27 16:59:59 +0200 |
commit | 1f0c41dd0c216401e88a2665dc6a07ce24d6079d (patch) | |
tree | 81415882b75384971b359e4e680091e94fda6d87 /drivers/usb/usbip/vudc_dev.c | |
parent | Documentation/ABI: Added ABI information for devspec and obppath. (diff) | |
download | linux-1f0c41dd0c216401e88a2665dc6a07ce24d6079d.tar.xz linux-1f0c41dd0c216401e88a2665dc6a07ce24d6079d.zip |
usb: usbip:checkpatch; fix bare use of unsigned
This patch fixes the following checkpatch warning for usbip files
WARNING: Prefer 'unsigned int' to bare use of 'unsigned'
Signed-off-by: Jai Krishna <rjk1024@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/usbip/vudc_dev.c')
-rw-r--r-- | drivers/usb/usbip/vudc_dev.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/usb/usbip/vudc_dev.c b/drivers/usb/usbip/vudc_dev.c index 7091848df6c8..c5375e74ffc5 100644 --- a/drivers/usb/usbip/vudc_dev.c +++ b/drivers/usb/usbip/vudc_dev.c @@ -242,10 +242,10 @@ static const struct usb_gadget_ops vgadget_ops = { static int vep_enable(struct usb_ep *_ep, const struct usb_endpoint_descriptor *desc) { - struct vep *ep; - struct vudc *udc; - unsigned maxp; - unsigned long flags; + struct vep *ep; + struct vudc *udc; + unsigned int maxp; + unsigned long flags; ep = to_vep(_ep); udc = ep_to_vudc(ep); |