From 6e7224d196ddbfcb23deebdf0996049b0fa5f8bd Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Wed, 17 Oct 2007 12:54:32 -0200 Subject: backport commit 64a6f9500d8e8a8e1b1adc2120e56cc88df5727f From: Mauro Carvalho Chehab Original description: Author: Al Viro Date: Sun Oct 14 19:35:30 2007 +0100 signedness: module_param_array nump argument ... should be unsigned int kernel-sync: Signed-off-by: Mauro Carvalho Chehab --- linux/drivers/media/video/ivtv/ivtv-driver.c | 6 +++--- linux/drivers/media/video/ov511.c | 2 +- linux/drivers/media/video/pwc/pwc-if.c | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'linux') diff --git a/linux/drivers/media/video/ivtv/ivtv-driver.c b/linux/drivers/media/video/ivtv/ivtv-driver.c index 21a28853f..59837795c 100644 --- a/linux/drivers/media/video/ivtv/ivtv-driver.c +++ b/linux/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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 }; -static int cardtype_c = 1; -static int tuner_c = 1; -static int radio_c = 1; +static unsigned int cardtype_c = 1; +static unsigned int tuner_c = 1; +static unsigned int radio_c = 1; static char pal[] = "--"; static char secam[] = "--"; static char ntsc[] = "-"; diff --git a/linux/drivers/media/video/ov511.c b/linux/drivers/media/video/ov511.c index 406ffe0c6..459de609a 100644 --- a/linux/drivers/media/video/ov511.c +++ b/linux/drivers/media/video/ov511.c @@ -181,7 +181,7 @@ module_param(force_palette, int, 0); MODULE_PARM_DESC(force_palette, "Force the palette to a specific value"); module_param(backlight, int, 0); MODULE_PARM_DESC(backlight, "For objects that are lit from behind"); -static int num_uv; +static unsigned int num_uv; module_param_array(unit_video, int, &num_uv, 0); MODULE_PARM_DESC(unit_video, "Force use of specific minor number(s). 0 is not allowed."); diff --git a/linux/drivers/media/video/pwc/pwc-if.c b/linux/drivers/media/video/pwc/pwc-if.c index de0ae93e3..1f5a8a18c 100644 --- a/linux/drivers/media/video/pwc/pwc-if.c +++ b/linux/drivers/media/video/pwc/pwc-if.c @@ -1929,9 +1929,9 @@ static int fbufs; static int mbufs; static int compression = -1; static int leds[2] = { -1, -1 }; -static int leds_nargs; +static unsigned int leds_nargs; static char *dev_hint[MAX_DEV_HINTS]; -static int dev_hint_nargs; +static unsigned int dev_hint_nargs; module_param(size, charp, 0444); module_param(fps, int, 0444); -- cgit v1.2.3