Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

samples/rpmsg: Replace print_hex_dump() with print_hex_dump_debug()

Replace the raw print_hex_dump() call in the rpmsg_sample_cb() function
with the equivalent print_hex_dump_debug() better suited for dynamic
debug. This switch allows flexibility of controlling this trace through
dynamic debug when enabled.

Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>

authored by

Suman Anna and committed by
Bjorn Andersson
2519fbb3 5f9e832c

+2 -2
+2 -2
samples/rpmsg/rpmsg_client_sample.c
··· 29 29 dev_info(&rpdev->dev, "incoming msg %d (src: 0x%x)\n", 30 30 ++idata->rx_count, src); 31 31 32 - print_hex_dump(KERN_DEBUG, __func__, DUMP_PREFIX_NONE, 16, 1, 33 - data, len, true); 32 + print_hex_dump_debug(__func__, DUMP_PREFIX_NONE, 16, 1, data, len, 33 + true); 34 34 35 35 /* samples should not live forever */ 36 36 if (idata->rx_count >= MSG_LIMIT) {