aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/atm
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2007-10-14 14:35:30 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-14 15:41:52 -0400
commit64a6f9500d8e8a8e1b1adc2120e56cc88df5727f (patch)
tree19949f0c50538e08b7e434db7860bef02d8aa611 /drivers/usb/atm
parent64b33619a30ff18c1535ee779572ecffcc4711d2 (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/atm')
-rw-r--r--drivers/usb/atm/speedtch.c2
-rw-r--r--drivers/usb/atm/xusbatm.c2
2 files changed, 2 insertions, 2 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] = {
88static unsigned int BMaxDSL = DEFAULT_B_MAX_DSL; 88static unsigned int BMaxDSL = DEFAULT_B_MAX_DSL;
89static unsigned char ModemMode = DEFAULT_MODEM_MODE; 89static unsigned char ModemMode = DEFAULT_MODEM_MODE;
90static unsigned char ModemOption[MODEM_OPTION_LENGTH]; 90static unsigned char ModemOption[MODEM_OPTION_LENGTH];
91static int num_ModemOption; 91static unsigned int num_ModemOption;
92 92
93module_param(altsetting, uint, S_IRUGO | S_IWUSR); 93module_param(altsetting, uint, S_IRUGO | S_IWUSR);
94MODULE_PARM_DESC(altsetting, 94MODULE_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