summaryrefslogtreecommitdiffstats
path: root/drivers/usb/atm/xusbatm.c
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2007-10-14 20:35:30 +0200
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-14 21:41:52 +0200
commit64a6f9500d8e8a8e1b1adc2120e56cc88df5727f (patch)
tree19949f0c50538e08b7e434db7860bef02d8aa611 /drivers/usb/atm/xusbatm.c
parentlong vs. unsigned long - low-hanging fruits in drivers (diff)
downloadlinux-64a6f9500d8e8a8e1b1adc2120e56cc88df5727f.tar.xz
linux-64a6f9500d8e8a8e1b1adc2120e56cc88df5727f.zip
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/xusbatm.c')
-rw-r--r--drivers/usb/atm/xusbatm.c2
1 files changed, 1 insertions, 1 deletions
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 @@
#define XUSBATM_PARM(name, type, parmtype, desc) \
static type name[XUSBATM_DRIVERS_MAX]; \
- static int num_##name; \
+ static unsigned int num_##name; \
module_param_array(name, parmtype, &num_##name, 0444); \
MODULE_PARM_DESC(name, desc)