Commit 69b04f0d authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

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: default avatarMike Isely <isely@isely.net>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent 05eda249
...@@ -174,8 +174,8 @@ static int pvr2_encoder_cmd(void *ctxt, ...@@ -174,8 +174,8 @@ static int pvr2_encoder_cmd(void *ctxt,
PVR2_TRACE_ERROR_LEGS, PVR2_TRACE_ERROR_LEGS,
"Failed to write cx23416 command" "Failed to write cx23416 command"
" - too many input arguments" " - too many input arguments"
" (was given %u limit %u)", " (was given %u limit %lu)",
arg_cnt_send, ARRAY_SIZE(wrData) - 4); arg_cnt_send, (long unsigned) ARRAY_SIZE(wrData) - 4);
return -EINVAL; return -EINVAL;
} }
...@@ -184,8 +184,8 @@ static int pvr2_encoder_cmd(void *ctxt, ...@@ -184,8 +184,8 @@ static int pvr2_encoder_cmd(void *ctxt,
PVR2_TRACE_ERROR_LEGS, PVR2_TRACE_ERROR_LEGS,
"Failed to write cx23416 command" "Failed to write cx23416 command"
" - too many return arguments" " - too many return arguments"
" (was given %u limit %u)", " (was given %u limit %lu)",
arg_cnt_recv, ARRAY_SIZE(rdData) - 4); arg_cnt_recv, (long unsigned) ARRAY_SIZE(rdData) - 4);
return -EINVAL; return -EINVAL;
} }
...@@ -271,8 +271,8 @@ static int pvr2_encoder_vcmd(struct pvr2_hdw *hdw, int cmd, ...@@ -271,8 +271,8 @@ static int pvr2_encoder_vcmd(struct pvr2_hdw *hdw, int cmd,
PVR2_TRACE_ERROR_LEGS, PVR2_TRACE_ERROR_LEGS,
"Failed to write cx23416 command" "Failed to write cx23416 command"
" - too many arguments" " - too many arguments"
" (was given %u limit %u)", " (was given %u limit %lu)",
args, ARRAY_SIZE(data)); args, (long unsigned) ARRAY_SIZE(data));
return -EINVAL; return -EINVAL;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment