diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2007-10-14 14:35:30 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-14 15:41:52 -0400 |
commit | 64a6f9500d8e8a8e1b1adc2120e56cc88df5727f (patch) | |
tree | 19949f0c50538e08b7e434db7860bef02d8aa611 /drivers/media | |
parent | 64b33619a30ff18c1535ee779572ecffcc4711d2 (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/media')
-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 |
3 files changed, 6 insertions, 6 deletions
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); |