Re: [PATCH] lib/hexdump: print_hex_dump_bytes() calls print_hex_dump_debug()
From: Petr Mladek
Date: Wed Apr 01 2026 - 05:35:25 EST
On Tue 2026-03-31 17:21:43, Geert Uytterhoeven wrote:
> print_hex_dump_bytes() claims to be a simple wrapper around
> print_hex_dump(), but it actally calls print_hex_dump_debug(), which
> means no output is printed if (dynamic) DEBUG is disabled.
>
> Update the documentation to match the implementation.
>
> Fixes: 091cb0994edd20d6 ("lib/hexdump: make print_hex_dump_bytes() a nop on !DEBUG builds")
> Signed-off-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
Great catch!
Reviewed-by: Petr Mladek <pmladek@xxxxxxxx>
Best Regards,
Petr