mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 13:49:24 -04:00
mm: cma: Reduce dmesg spam
CONFIG_CMA_DEBUG was #defining DEBUG, which has the side effect of changing the behavior of pr_debug statements to always print into the dmesg log, as opposed to printing only if they are enabled via dynamic debug. Log etiquette indicates that messages should only be printed for error conditions. Change-Id: I5eebc1060618a3abc87a7f85ae770505c991c017 Signed-off-by: Patrick Daly <pdaly@codeaurora.org> Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
This commit is contained in:
parent
915d2b2efe
commit
9848b4d838
1 changed files with 0 additions and 5 deletions
5
mm/cma.c
5
mm/cma.c
|
|
@ -14,11 +14,6 @@
|
|||
|
||||
#define pr_fmt(fmt) "cma: " fmt
|
||||
|
||||
#ifdef CONFIG_CMA_DEBUG
|
||||
#ifndef DEBUG
|
||||
# define DEBUG
|
||||
#endif
|
||||
#endif
|
||||
#define CREATE_TRACE_POINTS
|
||||
|
||||
#include <linux/memblock.h>
|
||||
|
|
|
|||
Loading…
Reference in a new issue