From 64a6f9500d8e8a8e1b1adc2120e56cc88df5727f Mon Sep 17 00:00:00 2001 From: Al Viro Date: Sun, 14 Oct 2007 19:35:30 +0100 Subject: signedness: module_param_array nump argument ... should be unsigned int Signed-off-by: Al Viro Signed-off-by: Linus Torvalds --- drivers/pcmcia/i82365.c | 2 +- drivers/pcmcia/pd6729.c | 2 +- drivers/pcmcia/tcic.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'drivers/pcmcia') diff --git a/drivers/pcmcia/i82365.c b/drivers/pcmcia/i82365.c index 71b33707117..839bb1c0db5 100644 --- a/drivers/pcmcia/i82365.c +++ b/drivers/pcmcia/i82365.c @@ -101,7 +101,7 @@ static int ignore = -1; /* Bit map or list of interrupts to choose from */ static u_int irq_mask = 0xffff; static int irq_list[16]; -static int irq_list_count; +static unsigned int irq_list_count; /* The card status change interrupt -- 0 means autoselect */ static int cs_irq = 0; diff --git a/drivers/pcmcia/pd6729.c b/drivers/pcmcia/pd6729.c index dd0ddf19ee5..abc10fe49bd 100644 --- a/drivers/pcmcia/pd6729.c +++ b/drivers/pcmcia/pd6729.c @@ -58,7 +58,7 @@ MODULE_AUTHOR("Jun Komuro "); static int irq_mode = 1; /* 0 = ISA interrupt, 1 = PCI interrupt */ static int irq_list[16]; -static int irq_list_count = 0; +static unsigned int irq_list_count = 0; module_param(irq_mode, int, 0444); module_param_array(irq_list, int, &irq_list_count, 0444); diff --git a/drivers/pcmcia/tcic.c b/drivers/pcmcia/tcic.c index c158cf38b9d..749ac371091 100644 --- a/drivers/pcmcia/tcic.c +++ b/drivers/pcmcia/tcic.c @@ -90,7 +90,7 @@ static int do_scan = 1; /* Bit map of interrupts to choose from */ static u_int irq_mask = 0xffff; static int irq_list[16]; -static int irq_list_count; +static unsigned int irq_list_count; /* The card status change interrupt -- 0 means autoselect */ static int cs_irq; -- cgit v1.2.3