Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9848b4d8 authored by Patrick Daly's avatar Patrick Daly Committed by Isaac J. Manjarres
Browse files

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: default avatarPatrick Daly <pdaly@codeaurora.org>
Signed-off-by: default avatarIsaac J. Manjarres <isaacm@codeaurora.org>
parent 915d2b2e
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -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>