aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/pvrusb2/pvrusb2-encoder.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2007-01-21 20:02:35 -0500
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-02-21 10:34:47 -0500
commit69b04f0dc1c489899b610cb44209da9d728b248f (patch)
tree795cbf190b00e73b75c45187ba5c89a2ea44fd1d /drivers/media/video/pvrusb2/pvrusb2-encoder.c
parent05eda24968a6bb7082b632769bd72126f85485a6 (diff)
V4L/DVB (5116): Remove some warnings when compiling on x86_64
pvrusb2-encoder.c: In function 'pvr2_encoder_cmd': pvrusb2-encoder.c:195: warning: format '%u' expects type 'unsigned int', but argument 3 has type 'long unsigned int' pvrusb2-encoder.c:205: warning: format '%u' expects type 'unsigned int', but argument 3 has type 'long unsigned int' pvrusb2-encoder.c: In function 'pvr2_encoder_vcmd': pvrusb2-encoder.c:303: warning: format '%u' expects type 'unsigned int', but argument 3 has type 'long unsigned int' Acked-by: Mike Isely <isely@isely.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/pvrusb2/pvrusb2-encoder.c')
-rw-r--r--drivers/media/video/pvrusb2/pvrusb2-encoder.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/media/video/pvrusb2/pvrusb2-encoder.c b/drivers/media/video/pvrusb2/pvrusb2-encoder.c
index f2ac123e0cb3..9e43182231a5 100644
--- a/drivers/media/video/pvrusb2/pvrusb2-encoder.c
+++ b/drivers/media/video/pvrusb2/pvrusb2-encoder.c
@@ -174,8 +174,8 @@ static int pvr2_encoder_cmd(void *ctxt,
174 PVR2_TRACE_ERROR_LEGS, 174 PVR2_TRACE_ERROR_LEGS,
175 "Failed to write cx23416 command" 175 "Failed to write cx23416 command"
176 " - too many input arguments" 176 " - too many input arguments"
177 " (was given %u limit %u)", 177 " (was given %u limit %lu)",
178 arg_cnt_send, ARRAY_SIZE(wrData) - 4); 178 arg_cnt_send, (long unsigned) ARRAY_SIZE(wrData) - 4);
179 return -EINVAL; 179 return -EINVAL;
180 } 180 }
181 181
@@ -184,8 +184,8 @@ static int pvr2_encoder_cmd(void *ctxt,
184 PVR2_TRACE_ERROR_LEGS, 184 PVR2_TRACE_ERROR_LEGS,
185 "Failed to write cx23416 command" 185 "Failed to write cx23416 command"
186 " - too many return arguments" 186 " - too many return arguments"
187 " (was given %u limit %u)", 187 " (was given %u limit %lu)",
188 arg_cnt_recv, ARRAY_SIZE(rdData) - 4); 188 arg_cnt_recv, (long unsigned) ARRAY_SIZE(rdData) - 4);
189 return -EINVAL; 189 return -EINVAL;
190 } 190 }
191 191
@@ -271,8 +271,8 @@ static int pvr2_encoder_vcmd(struct pvr2_hdw *hdw, int cmd,
271 PVR2_TRACE_ERROR_LEGS, 271 PVR2_TRACE_ERROR_LEGS,
272 "Failed to write cx23416 command" 272 "Failed to write cx23416 command"
273 " - too many arguments" 273 " - too many arguments"
274 " (was given %u limit %u)", 274 " (was given %u limit %lu)",
275 args, ARRAY_SIZE(data)); 275 args, (long unsigned) ARRAY_SIZE(data));
276 return -EINVAL; 276 return -EINVAL;
277 } 277 }
278 278