From 00c59f8371c318baf7509bcd1f5df426223c2866 Mon Sep 17 00:00:00 2001 From: "binqi.zhang" Date: Tue, 25 Sep 2018 17:01:51 +0800 Subject: [PATCH] ion_dev: fix detects in ion_dev PD#166793: SWPL-198 Coverity for ion Change-Id: I0f327888fc3fbb0247e489b8da9d1bc3dce03c23 Signed-off-by: binqi.zhang --- drivers/amlogic/media/common/ion_dev/dev_ion.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/amlogic/media/common/ion_dev/dev_ion.c b/drivers/amlogic/media/common/ion_dev/dev_ion.c index 50fb98f..e740dc7 100644 --- a/drivers/amlogic/media/common/ion_dev/dev_ion.c +++ b/drivers/amlogic/media/common/ion_dev/dev_ion.c @@ -32,13 +32,13 @@ MODULE_DESCRIPTION("AMLOGIC ION driver"); MODULE_LICENSE("GPL"); MODULE_AUTHOR("Amlogic SH"); -static unsigned int debug = 1; +static unsigned int debug = 2; module_param(debug, uint, 0644); MODULE_PARM_DESC(debug, "activates debug info"); #define dprintk(level, fmt, arg...) \ do { \ - if (debug >= level) \ + if (debug > level) \ pr_debug("ion-dev: " fmt, ## arg); \ } while (0) -- 2.7.4