[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1430297931.2411.110.camel@x220>
Date: Wed, 29 Apr 2015 10:58:51 +0200
From: Paul Bolle <pebolle@...cali.nl>
To: Valentin Rothberg <valentinrothberg@...il.com>
Cc: Joe Perches <joe@...ches.com>, lauro.venancio@...nbossa.org,
aloisio.almeida@...nbossa.org, sameo@...ux.intel.com,
clement.perrochaud@...innov.com, charles.gorand@...innov.com,
linux-wireless@...r.kernel.org, linux-kernel@...r.kernel.org,
Andreas Ruprecht <rupran@...server.de>,
hengelein Stefan <stefan.hengelein@....de>
Subject: Re: [PATCH] drivers/nfc: remove obsolete setting of DEBUG
On Wed, 2015-04-29 at 10:45 +0200, Valentin Rothberg wrote:
> Thanks, I was not aware of it at all. I read the code and it seems
> that if neither DYNAMIC_DEBUG nor DEBUG is defined, pr_debug() does
> nothing more than to return 0.
>
> I am not sure what to do in this case. Somehow it seems reasonable to
> me to add NFC_DEBUG to Kconfig since a considerable amount of code in
> nfc seems to depend on DEBUG.
A few greps tell me the first pointless reference to CONFIG_NFC_DEBUG
was added in v3.1. So clearly the people actually building and using the
nfc code don't need the DEBUG flag. Apparently using pr_debug() by
setting CONFIG_DYNAMIC_DEBUG works for them. (I trust Joe will shout
when that statement is incorrect.)
So, as I said, the patch should be fine, and only the commit explanation
needs work.
Paul Bolle
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists