diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2015-09-10 00:37:11 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-09-10 22:29:01 +0200 |
commit | cdf17449af1d9b596742c260134edd6c1fac2792 (patch) | |
tree | 2ffa7e40e539e861ea43df8b46489a9ab1d7197e /lib | |
parent | lib/bitmap.c: bitmap_parselist can accept string with whitespaces on head or ... (diff) | |
download | linux-cdf17449af1d9b596742c260134edd6c1fac2792.tar.xz linux-cdf17449af1d9b596742c260134edd6c1fac2792.zip |
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 <linus.walleij@linaro.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions