]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
printk: add print_hex_dump_devel()
authorThorsten Blum <thorsten.blum@linux.dev>
Thu, 19 Mar 2026 09:29:32 +0000 (10:29 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 27 Mar 2026 09:52:43 +0000 (18:52 +0900)
commitd134feeb5df33fbf77f482f52a366a44642dba09
tree98087ba30344bec226b44fbfb939ed6fac4a1596
parentb0bfa49c03e3c65737eafa73d8a698eaf55379a6
printk: add print_hex_dump_devel()

Add print_hex_dump_devel() as the hex dump equivalent of pr_devel(),
which emits output only when DEBUG is enabled, but keeps call sites
compiled otherwise.

Suggested-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Reviewed-by: John Ogness <john.ogness@linutronix.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
include/linux/printk.h