]> Git Repo - linux.git/commit
hexdump: do not print debug dumps for !CONFIG_DEBUG
authorLinus Walleij <[email protected]>
Wed, 9 Sep 2015 22:37:11 +0000 (15:37 -0700)
committerLinus Torvalds <[email protected]>
Thu, 10 Sep 2015 20:29:01 +0000 (13:29 -0700)
commitcdf17449af1d9b596742c260134edd6c1fac2792
tree2ffa7e40e539e861ea43df8b46489a9ab1d7197e
parent9bf98f168b7b004c94c766a6989071e0f858def3
hexdump: do not print debug dumps for !CONFIG_DEBUG

print_hex_dump_debug() is likely supposed to be analogous to pr_debug() or
dev_dbg() & friends.  Currently it will adhere to dynamic debug, but will
not stub out prints if CONFIG_DEBUG is not set.  Let's make it do the
right thing, because I am tired of having my dmesg buffer full of hex
dumps on production systems.

Signed-off-by: Linus Walleij <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
include/linux/printk.h
This page took 0.051932 seconds and 4 git commands to generate.