]> git.ipfire.org Git - thirdparty/linux.git/commit
lib/hexdump: print_hex_dump_bytes() calls print_hex_dump_debug()
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 31 Mar 2026 15:21:43 +0000 (17:21 +0200)
committerPetr Mladek <pmladek@suse.com>
Wed, 1 Apr 2026 09:26:49 +0000 (11:26 +0200)
commit36776b7f8a8955b4e75b5d490a75fee0c7a2a7ef
treeb0751dea89760d08ad46905ae47f2e79e9011f94
parentf4cf0992be37e6a8bc6cf9108f2c9628a6188381
lib/hexdump: print_hex_dump_bytes() calls print_hex_dump_debug()

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@glider.be>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Link: https://patch.msgid.link/3d5c3069fd9102ecaf81d044b750cd613eb72a08.1774970392.git.geert+renesas@glider.be
Signed-off-by: Petr Mladek <pmladek@suse.com>
include/linux/printk.h