diff options
-rw-r--r-- | drivers/char/ipmi/ipmi_si_intf.c | 18 | ||||
-rw-r--r-- | drivers/eisa/eisa-bus.c | 4 | ||||
-rw-r--r-- | drivers/media/video/ivtv/ivtv-driver.c | 6 | ||||
-rw-r--r-- | drivers/media/video/ov511.c | 2 | ||||
-rw-r--r-- | drivers/media/video/pwc/pwc-if.c | 4 | ||||
-rw-r--r-- | drivers/mtd/nand/cafe_nand.c | 2 | ||||
-rw-r--r-- | drivers/pcmcia/i82365.c | 2 | ||||
-rw-r--r-- | drivers/pcmcia/pd6729.c | 2 | ||||
-rw-r--r-- | drivers/pcmcia/tcic.c | 2 | ||||
-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 |
12 files changed, 27 insertions, 27 deletions
diff --git a/drivers/char/ipmi/ipmi_si_intf.c b/drivers/char/ipmi/ipmi_si_intf.c index a2894d425153..c1222e98525d 100644 --- a/drivers/char/ipmi/ipmi_si_intf.c +++ b/drivers/char/ipmi/ipmi_si_intf.c | |||
@@ -1072,19 +1072,19 @@ static char *si_type[SI_MAX_PARMS]; | |||
1072 | #define MAX_SI_TYPE_STR 30 | 1072 | #define MAX_SI_TYPE_STR 30 |
1073 | static char si_type_str[MAX_SI_TYPE_STR]; | 1073 | static char si_type_str[MAX_SI_TYPE_STR]; |
1074 | static unsigned long addrs[SI_MAX_PARMS]; | 1074 | static unsigned long addrs[SI_MAX_PARMS]; |
1075 | static int num_addrs; | 1075 | static unsigned int num_addrs; |
1076 | static unsigned int ports[SI_MAX_PARMS]; | 1076 | static unsigned int ports[SI_MAX_PARMS]; |
1077 | static int num_ports; | 1077 | static unsigned int num_ports; |
1078 | static int irqs[SI_MAX_PARMS]; | 1078 | static int irqs[SI_MAX_PARMS]; |
1079 | static int num_irqs; | 1079 | static unsigned int num_irqs; |
1080 | static int regspacings[SI_MAX_PARMS]; | 1080 | static int regspacings[SI_MAX_PARMS]; |
1081 | static int num_regspacings; | 1081 | static unsigned int num_regspacings; |
1082 | static int regsizes[SI_MAX_PARMS]; | 1082 | static int regsizes[SI_MAX_PARMS]; |
1083 | static int num_regsizes; | 1083 | static unsigned int num_regsizes; |
1084 | static int regshifts[SI_MAX_PARMS]; | 1084 | static int regshifts[SI_MAX_PARMS]; |
1085 | static int num_regshifts; | 1085 | static unsigned int num_regshifts; |
1086 | static int slave_addrs[SI_MAX_PARMS]; | 1086 | static int slave_addrs[SI_MAX_PARMS]; |
1087 | static int num_slave_addrs; | 1087 | static unsigned int num_slave_addrs; |
1088 | 1088 | ||
1089 | #define IPMI_IO_ADDR_SPACE 0 | 1089 | #define IPMI_IO_ADDR_SPACE 0 |
1090 | #define IPMI_MEM_ADDR_SPACE 1 | 1090 | #define IPMI_MEM_ADDR_SPACE 1 |
@@ -1106,12 +1106,12 @@ MODULE_PARM_DESC(type, "Defines the type of each interface, each" | |||
1106 | " interface separated by commas. The types are 'kcs'," | 1106 | " interface separated by commas. The types are 'kcs'," |
1107 | " 'smic', and 'bt'. For example si_type=kcs,bt will set" | 1107 | " 'smic', and 'bt'. For example si_type=kcs,bt will set" |
1108 | " the first interface to kcs and the second to bt"); | 1108 | " the first interface to kcs and the second to bt"); |
1109 | module_param_array(addrs, long, &num_addrs, 0); | 1109 | module_param_array(addrs, ulong, &num_addrs, 0); |
1110 | MODULE_PARM_DESC(addrs, "Sets the memory address of each interface, the" | 1110 | MODULE_PARM_DESC(addrs, "Sets the memory address of each interface, the" |
1111 | " addresses separated by commas. Only use if an interface" | 1111 | " addresses separated by commas. Only use if an interface" |
1112 | " is in memory. Otherwise, set it to zero or leave" | 1112 | " is in memory. Otherwise, set it to zero or leave" |
1113 | " it blank."); | 1113 | " it blank."); |
1114 | module_param_array(ports, int, &num_ports, 0); | 1114 | module_param_array(ports, uint, &num_ports, 0); |
1115 | MODULE_PARM_DESC(ports, "Sets the port address of each interface, the" | 1115 | MODULE_PARM_DESC(ports, "Sets the port address of each interface, the" |
1116 | " addresses separated by commas. Only use if an interface" | 1116 | " addresses separated by commas. Only use if an interface" |
1117 | " is a port. Otherwise, set it to zero or leave" | 1117 | " is a port. Otherwise, set it to zero or leave" |
diff --git a/drivers/eisa/eisa-bus.c b/drivers/eisa/eisa-bus.c index 4d4a47393909..65dcf0432653 100644 --- a/drivers/eisa/eisa-bus.c +++ b/drivers/eisa/eisa-bus.c | |||
@@ -35,9 +35,9 @@ static struct eisa_device_info __initdata eisa_table[] = { | |||
35 | #define EISA_MAX_FORCED_DEV 16 | 35 | #define EISA_MAX_FORCED_DEV 16 |
36 | 36 | ||
37 | static int enable_dev[EISA_MAX_FORCED_DEV]; | 37 | static int enable_dev[EISA_MAX_FORCED_DEV]; |
38 | static int enable_dev_count; | 38 | static unsigned int enable_dev_count; |
39 | static int disable_dev[EISA_MAX_FORCED_DEV]; | 39 | static int disable_dev[EISA_MAX_FORCED_DEV]; |
40 | static int disable_dev_count; | 40 | static unsigned int disable_dev_count; |
41 | 41 | ||
42 | static int is_forced_dev (int *forced_tab, | 42 | static int is_forced_dev (int *forced_tab, |
43 | int forced_count, | 43 | int forced_count, |
diff --git a/drivers/media/video/ivtv/ivtv-driver.c b/drivers/media/video/ivtv/ivtv-driver.c index 511a66252413..fd7a932e1d33 100644 --- a/drivers/media/video/ivtv/ivtv-driver.c +++ b/drivers/media/video/ivtv/ivtv-driver.c | |||
@@ -98,9 +98,9 @@ static int radio[IVTV_MAX_CARDS] = { -1, -1, -1, -1, -1, -1, -1, -1, | |||
98 | -1, -1, -1, -1, -1, -1, -1, -1, | 98 | -1, -1, -1, -1, -1, -1, -1, -1, |
99 | -1, -1, -1, -1, -1, -1, -1, -1 }; | 99 | -1, -1, -1, -1, -1, -1, -1, -1 }; |
100 | 100 | ||
101 | static int cardtype_c = 1; | 101 | static unsigned int cardtype_c = 1; |
102 | static int tuner_c = 1; | 102 | static unsigned int tuner_c = 1; |
103 | static int radio_c = 1; | 103 | static unsigned int radio_c = 1; |
104 | static char pal[] = "--"; | 104 | static char pal[] = "--"; |
105 | static char secam[] = "--"; | 105 | static char secam[] = "--"; |
106 | static char ntsc[] = "-"; | 106 | static char ntsc[] = "-"; |
diff --git a/drivers/media/video/ov511.c b/drivers/media/video/ov511.c index 9eb2562347a8..b8d4ac0d938e 100644 --- a/drivers/media/video/ov511.c +++ b/drivers/media/video/ov511.c | |||
@@ -181,7 +181,7 @@ module_param(force_palette, int, 0); | |||
181 | MODULE_PARM_DESC(force_palette, "Force the palette to a specific value"); | 181 | MODULE_PARM_DESC(force_palette, "Force the palette to a specific value"); |
182 | module_param(backlight, int, 0); | 182 | module_param(backlight, int, 0); |
183 | MODULE_PARM_DESC(backlight, "For objects that are lit from behind"); | 183 | MODULE_PARM_DESC(backlight, "For objects that are lit from behind"); |
184 | static int num_uv; | 184 | static unsigned int num_uv; |
185 | module_param_array(unit_video, int, &num_uv, 0); | 185 | module_param_array(unit_video, int, &num_uv, 0); |
186 | MODULE_PARM_DESC(unit_video, | 186 | MODULE_PARM_DESC(unit_video, |
187 | "Force use of specific minor number(s). 0 is not allowed."); | 187 | "Force use of specific minor number(s). 0 is not allowed."); |
diff --git a/drivers/media/video/pwc/pwc-if.c b/drivers/media/video/pwc/pwc-if.c index 0b67d4ec0318..950da2542148 100644 --- a/drivers/media/video/pwc/pwc-if.c +++ b/drivers/media/video/pwc/pwc-if.c | |||
@@ -1903,9 +1903,9 @@ static int fbufs; | |||
1903 | static int mbufs; | 1903 | static int mbufs; |
1904 | static int compression = -1; | 1904 | static int compression = -1; |
1905 | static int leds[2] = { -1, -1 }; | 1905 | static int leds[2] = { -1, -1 }; |
1906 | static int leds_nargs; | 1906 | static unsigned int leds_nargs; |
1907 | static char *dev_hint[MAX_DEV_HINTS]; | 1907 | static char *dev_hint[MAX_DEV_HINTS]; |
1908 | static int dev_hint_nargs; | 1908 | static unsigned int dev_hint_nargs; |
1909 | 1909 | ||
1910 | module_param(size, charp, 0444); | 1910 | module_param(size, charp, 0444); |
1911 | module_param(fps, int, 0444); | 1911 | module_param(fps, int, 0444); |
diff --git a/drivers/mtd/nand/cafe_nand.c b/drivers/mtd/nand/cafe_nand.c index e2832d0b9899..1e811715211a 100644 --- a/drivers/mtd/nand/cafe_nand.c +++ b/drivers/mtd/nand/cafe_nand.c | |||
@@ -80,7 +80,7 @@ module_param(regdebug, int, 0644); | |||
80 | static int checkecc = 1; | 80 | static int checkecc = 1; |
81 | module_param(checkecc, int, 0644); | 81 | module_param(checkecc, int, 0644); |
82 | 82 | ||
83 | static int numtimings; | 83 | static unsigned int numtimings; |
84 | static int timing[3]; | 84 | static int timing[3]; |
85 | module_param_array(timing, int, &numtimings, 0644); | 85 | module_param_array(timing, int, &numtimings, 0644); |
86 | 86 | ||
diff --git a/drivers/pcmcia/i82365.c b/drivers/pcmcia/i82365.c index 71b33707117f..839bb1c0db58 100644 --- a/drivers/pcmcia/i82365.c +++ b/drivers/pcmcia/i82365.c | |||
@@ -101,7 +101,7 @@ static int ignore = -1; | |||
101 | /* Bit map or list of interrupts to choose from */ | 101 | /* Bit map or list of interrupts to choose from */ |
102 | static u_int irq_mask = 0xffff; | 102 | static u_int irq_mask = 0xffff; |
103 | static int irq_list[16]; | 103 | static int irq_list[16]; |
104 | static int irq_list_count; | 104 | static unsigned int irq_list_count; |
105 | /* The card status change interrupt -- 0 means autoselect */ | 105 | /* The card status change interrupt -- 0 means autoselect */ |
106 | static int cs_irq = 0; | 106 | static int cs_irq = 0; |
107 | 107 | ||
diff --git a/drivers/pcmcia/pd6729.c b/drivers/pcmcia/pd6729.c index dd0ddf19ee57..abc10fe49bd8 100644 --- a/drivers/pcmcia/pd6729.c +++ b/drivers/pcmcia/pd6729.c | |||
@@ -58,7 +58,7 @@ MODULE_AUTHOR("Jun Komuro <komurojun-mbn@nifty.com>"); | |||
58 | 58 | ||
59 | static int irq_mode = 1; /* 0 = ISA interrupt, 1 = PCI interrupt */ | 59 | static int irq_mode = 1; /* 0 = ISA interrupt, 1 = PCI interrupt */ |
60 | static int irq_list[16]; | 60 | static int irq_list[16]; |
61 | static int irq_list_count = 0; | 61 | static unsigned int irq_list_count = 0; |
62 | 62 | ||
63 | module_param(irq_mode, int, 0444); | 63 | module_param(irq_mode, int, 0444); |
64 | module_param_array(irq_list, int, &irq_list_count, 0444); | 64 | module_param_array(irq_list, int, &irq_list_count, 0444); |
diff --git a/drivers/pcmcia/tcic.c b/drivers/pcmcia/tcic.c index c158cf38b9dd..749ac3710914 100644 --- a/drivers/pcmcia/tcic.c +++ b/drivers/pcmcia/tcic.c | |||
@@ -90,7 +90,7 @@ static int do_scan = 1; | |||
90 | /* Bit map of interrupts to choose from */ | 90 | /* Bit map of interrupts to choose from */ |
91 | static u_int irq_mask = 0xffff; | 91 | static u_int irq_mask = 0xffff; |
92 | static int irq_list[16]; | 92 | static int irq_list[16]; |
93 | static int irq_list_count; | 93 | static unsigned int irq_list_count; |
94 | 94 | ||
95 | /* The card status change interrupt -- 0 means autoselect */ | 95 | /* The card status change interrupt -- 0 means autoselect */ |
96 | static int cs_irq; | 96 | static int cs_irq; |
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 */ |