diff options
author | Andre Haupt <andre@bitwigglers.org> | 2008-06-18 09:56:00 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-07-21 18:16:33 -0400 |
commit | dd9ca5d9be7eba99d685d733e23d5be7110e9556 (patch) | |
tree | 380c3b5ed64b93cfeb7f35070978fb45fe440f36 /drivers | |
parent | 3faefc88c1a32b0b4a00b9089fab5d917996b16c (diff) |
USB: usb-serial: fix a sparse warning about different signedness
fix the following sparse warning:
drivers/usb/serial/usb-serial.c:927:43: warning: incorrect type in argument 3 (different signedness)
drivers/usb/serial/usb-serial.c:927:43: expected unsigned int *minor
drivers/usb/serial/usb-serial.c:927:43: got int *<noident>
CHECK drivers/usb/serial/generic.c
Signed-off-by: Andre Haupt <andre@bitwigglers.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/usb/serial/usb-serial.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/serial/usb-serial.c b/drivers/usb/serial/usb-serial.c index 717e376795e4..3bcf33466587 100644 --- a/drivers/usb/serial/usb-serial.c +++ b/drivers/usb/serial/usb-serial.c | |||
@@ -625,7 +625,7 @@ int usb_serial_probe(struct usb_interface *interface, | |||
625 | struct usb_endpoint_descriptor *bulk_out_endpoint[MAX_NUM_PORTS]; | 625 | struct usb_endpoint_descriptor *bulk_out_endpoint[MAX_NUM_PORTS]; |
626 | struct usb_serial_driver *type = NULL; | 626 | struct usb_serial_driver *type = NULL; |
627 | int retval; | 627 | int retval; |
628 | int minor; | 628 | unsigned int minor; |
629 | int buffer_size; | 629 | int buffer_size; |
630 | int i; | 630 | int i; |
631 | int num_interrupt_in = 0; | 631 | int num_interrupt_in = 0; |