From: Kalle Valo <kvalo@qca.qualcomm.com>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] [PATCH 1/2] ath10k: Convert ath10k_dbg uses
Date: Mon, 20 May 2013 21:43:22 +0300 [thread overview]
Message-ID: <874ndxfq5x.fsf@kamboji.qca.qualcomm.com> (raw)
In-Reply-To: <1369065683.2143.16.camel@joe-AO722> (Joe Perches's message of "Mon, 20 May 2013 09:01:23 -0700")
Joe Perches <joe@perches.com> writes:
> On Mon, 2013-05-20 at 10:12 +0300, Kalle Valo wrote:
>> Michal Kazior <michal.kazior@tieto.com> writes:
>>
>> > On 16/05/13 09:03, Joe Perches wrote:
>> >> Neaten and shorten the uses of ath10k_dbg and ath10k_dbg_dump.
>> >>
>> >> Add macros to hold the "ATH10K_DBG_" mask portion of the functions.
>> >
>> > I'm not really fond of this idea. It's harder to locate symbols when
>> > doing macro name concatenation. You can't jump to, e.g. WMI symbol
>> > definition because it doesn't exist (ATH10K_DBG_WMI is what you
>> > actually want). Although you don't look for this symbol often so I
>> > guess it's okay-ish.
>>
>> That's a good point. I sometimes use cscope to find all messages with
>> certain level, this patch makes that impossible. And I don't really see
>> that we have problems with ATH10K_DBG_WMI being too long.
>
> from the diffstat: 12 files changed, 226 insertions(+), 260 deletions(-)
>
> Reducing the line count has value
Sure, but there's a limit to that as well. If it makes more difficult
for the developers is it worth saving 30 lines?
> grep -w works well for me, but I'm not a cscope user.
I didn't know about -w, that's handy. Thanks.
--
Kalle Valo
next prev parent reply other threads:[~2013-05-20 18:43 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20130515143356.4492.43033.stgit@localhost6.localdomain6>
[not found] ` <1368639816.2194.9.camel@joe-AO722>
[not found] ` <8761yknn7i.fsf@kamboji.qca.qualcomm.com>
2013-05-16 7:03 ` [ath9k-devel] [PATCH 1/2] ath10k: Convert ath10k_dbg uses Joe Perches
2013-05-16 8:25 ` Michal Kazior
2013-05-20 7:12 ` Kalle Valo
2013-05-20 16:01 ` Joe Perches
2013-05-20 18:43 ` Kalle Valo [this message]
2013-05-16 7:05 ` [ath9k-devel] [PATCH 2/2] ath10k: Neaten ath10k_<level> uses Joe Perches
2013-06-01 9:19 ` Kalle Valo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=874ndxfq5x.fsf@kamboji.qca.qualcomm.com \
--to=kvalo@qca.qualcomm.com \
--cc=ath9k-devel@lists.ath9k.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox