Commit d3534660 authored by Stefan Wahren's avatar Stefan Wahren Committed by Greg Kroah-Hartman

staging: vchiq_arm: print real dump limit

We better use the real loop limit in the warning about
"too many active services". Another benefit is than we don't have to care
about the format string in the following change.
Signed-off-by: default avatarStefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 2610df41
...@@ -3479,8 +3479,7 @@ vchiq_dump_service_use_state(VCHIQ_STATE_T *state) ...@@ -3479,8 +3479,7 @@ vchiq_dump_service_use_state(VCHIQ_STATE_T *state)
if (only_nonzero) if (only_nonzero)
vchiq_log_warning(vchiq_susp_log_level, "Too many active " vchiq_log_warning(vchiq_susp_log_level, "Too many active "
"services (%d). Only dumping up to first %d services " "services (%d). Only dumping up to first %d services "
"with non-zero use-count", active_services, "with non-zero use-count", active_services, j);
local_max_services);
for (i = 0; i < j; i++) { for (i = 0; i < j; i++) {
vchiq_log_warning(vchiq_susp_log_level, vchiq_log_warning(vchiq_susp_log_level,
......
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