diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2007-10-14 14:35:30 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-14 15:41:52 -0400 |
commit | 64a6f9500d8e8a8e1b1adc2120e56cc88df5727f (patch) | |
tree | 19949f0c50538e08b7e434db7860bef02d8aa611 /drivers/usb | |
parent | 64b33619a30ff18c1535ee779572ecffcc4711d2 (diff) |
signedness: module_param_array nump argument
... should be unsigned int
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/atm/speedtch.c | 2 | ||||
-rw-r--r-- | drivers/usb/atm/xusbatm.c | 2 | ||||
-rw-r--r-- | drivers/usb/serial/ti_usb_3410_5052.c | 8 |
3 files changed, 6 insertions, 6 deletions
diff --git a/drivers/usb/atm/speedtch.c b/drivers/usb/atm/speedtch.c index 8b132c4a503b..7d27c9cf3c43 100644 --- a/drivers/usb/atm/speedtch.c +++ b/drivers/usb/atm/speedtch.c | |||
@@ -88,7 +88,7 @@ static const unsigned char DEFAULT_MODEM_OPTION[MODEM_OPTION_LENGTH] = { | |||
88 | static unsigned int BMaxDSL = DEFAULT_B_MAX_DSL; | 88 | static unsigned int BMaxDSL = DEFAULT_B_MAX_DSL; |
89 | static unsigned char ModemMode = DEFAULT_MODEM_MODE; | 89 | static unsigned char ModemMode = DEFAULT_MODEM_MODE; |
90 | static unsigned char ModemOption[MODEM_OPTION_LENGTH]; | 90 | static unsigned char ModemOption[MODEM_OPTION_LENGTH]; |
91 | static int num_ModemOption; | 91 | static unsigned int num_ModemOption; |
92 | 92 | ||
93 | module_param(altsetting, uint, S_IRUGO | S_IWUSR); | 93 | module_param(altsetting, uint, S_IRUGO | S_IWUSR); |
94 | MODULE_PARM_DESC(altsetting, | 94 | MODULE_PARM_DESC(altsetting, |
diff --git a/drivers/usb/atm/xusbatm.c b/drivers/usb/atm/xusbatm.c index 70125c6d3be4..8472543eee81 100644 --- a/drivers/usb/atm/xusbatm.c +++ b/drivers/usb/atm/xusbatm.c | |||
@@ -29,7 +29,7 @@ | |||
29 | 29 | ||
30 | #define XUSBATM_PARM(name, type, parmtype, desc) \ | 30 | #define XUSBATM_PARM(name, type, parmtype, desc) \ |
31 | static type name[XUSBATM_DRIVERS_MAX]; \ | 31 | static type name[XUSBATM_DRIVERS_MAX]; \ |
32 | static int num_##name; \ | 32 | static unsigned int num_##name; \ |
33 | module_param_array(name, parmtype, &num_##name, 0444); \ | 33 | module_param_array(name, parmtype, &num_##name, 0444); \ |
34 | MODULE_PARM_DESC(name, desc) | 34 | MODULE_PARM_DESC(name, desc) |
35 | 35 | ||
diff --git a/drivers/usb/serial/ti_usb_3410_5052.c b/drivers/usb/serial/ti_usb_3410_5052.c index f98626ae75fe..1f0149495fb4 100644 --- a/drivers/usb/serial/ti_usb_3410_5052.c +++ b/drivers/usb/serial/ti_usb_3410_5052.c | |||
@@ -214,13 +214,13 @@ static int debug; | |||
214 | static int low_latency = TI_DEFAULT_LOW_LATENCY; | 214 | static int low_latency = TI_DEFAULT_LOW_LATENCY; |
215 | static int closing_wait = TI_DEFAULT_CLOSING_WAIT; | 215 | static int closing_wait = TI_DEFAULT_CLOSING_WAIT; |
216 | static ushort vendor_3410[TI_EXTRA_VID_PID_COUNT]; | 216 | static ushort vendor_3410[TI_EXTRA_VID_PID_COUNT]; |
217 | static int vendor_3410_count; | 217 | static unsigned int vendor_3410_count; |
218 | static ushort product_3410[TI_EXTRA_VID_PID_COUNT]; | 218 | static ushort product_3410[TI_EXTRA_VID_PID_COUNT]; |
219 | static int product_3410_count; | 219 | static unsigned int product_3410_count; |
220 | static ushort vendor_5052[TI_EXTRA_VID_PID_COUNT]; | 220 | static ushort vendor_5052[TI_EXTRA_VID_PID_COUNT]; |
221 | static int vendor_5052_count; | 221 | static unsigned int vendor_5052_count; |
222 | static ushort product_5052[TI_EXTRA_VID_PID_COUNT]; | 222 | static ushort product_5052[TI_EXTRA_VID_PID_COUNT]; |
223 | static int product_5052_count; | 223 | static unsigned int product_5052_count; |
224 | 224 | ||
225 | /* supported devices */ | 225 | /* supported devices */ |
226 | /* the array dimension is the number of default entries plus */ | 226 | /* the array dimension is the number of default entries plus */ |