aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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