]> err.no Git - linux-2.6/commit
USB: usb-serial: fix a sparse warning about different signedness
authorAndre Haupt <andre@bitwigglers.org>
Wed, 18 Jun 2008 13:56:00 +0000 (15:56 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 21 Jul 2008 22:16:33 +0000 (15:16 -0700)
commitdd9ca5d9be7eba99d685d733e23d5be7110e9556
tree380c3b5ed64b93cfeb7f35070978fb45fe440f36
parent3faefc88c1a32b0b4a00b9089fab5d917996b16c
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>
drivers/usb/serial/usb-serial.c