xen/console: Fix build when CONFIG_DEBUG_TRACE=y
authorJulien Grall <julien.grall@arm.com>
Mon, 19 Aug 2019 17:13:05 +0000 (18:13 +0100)
committerJulien Grall <julien.grall@arm.com>
Wed, 21 Aug 2019 17:33:53 +0000 (18:33 +0100)
commite0bf98394ee06b9f365684269b1de091c31d8d9c
treebeb59f6f6d3cde22bce5e22f24d9478e89cb0624
parent7c7f7e8fba01f6cc985985173d0e69c6e6ecd56c
xen/console: Fix build when CONFIG_DEBUG_TRACE=y

Commit b5e6e1ee8da "xen/console: Don't treat NUL character as the end
of the buffer" extended sercon_puts to take the number of character
to print in argument.

Sadly, a couple of couple of the callers in debugtrace_dump_worker()
were not converted. This result to a build failure when enabling
CONFIG_DEBUG_TRACE.

Spotted by Travis using randconfig
Signed-off-by: Julien Grall <julien.grall@arm.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/drivers/char/console.c