From: Johannes Berg <johannes@sipsolutions.net>
To: Chen Weilong <chenweilong@huawei.com>
Cc: davem@davemloft.net, linville@tuxdriver.com, netdev@vger.kernel.org
Subject: Re: [patch net-next 5/5] mac80211: fix checkpatch error
Date: Wed, 18 Dec 2013 10:05:48 +0100 [thread overview]
Message-ID: <1387357548.4694.0.camel@jlt4.sipsolutions.net> (raw)
In-Reply-To: <1387352656-860-6-git-send-email-chenweilong@huawei.com>
On Wed, 2013-12-18 at 15:44 +0800, Chen Weilong wrote:
> #define for_each_sta_info(local, _addr, _sta, nxt) \
> - for ( /* initialise loop */ \
> + for (/* initialise loop */ \
> _sta = rcu_dereference(local->sta_hash[STA_HASH(_addr)]),\
> nxt = _sta ? rcu_dereference(_sta->hnext) : NULL; \
> /* typecheck */ \
I've applied it all (I squashed it though, no sense in having 5 small
commits that look identical on first glance), except for this bit - the
code here is aligned that way on purpose.
johannes
prev parent reply other threads:[~2013-12-18 9:06 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-18 7:44 [patch net-next 0/5] mac80211: clean up some chekpatch errors Chen Weilong
2013-12-18 7:44 ` [patch net-next 1/5] mac80211: fix checkpatch error Chen Weilong
2013-12-18 7:44 ` [patch net-next 2/5] " Chen Weilong
2013-12-18 7:44 ` [patch net-next 3/5] " Chen Weilong
2013-12-18 7:44 ` [patch net-next 4/5] " Chen Weilong
2013-12-18 7:44 ` [patch net-next 5/5] " Chen Weilong
2013-12-18 9:05 ` Johannes Berg [this message]
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=1387357548.4694.0.camel@jlt4.sipsolutions.net \
--to=johannes@sipsolutions.net \
--cc=chenweilong@huawei.com \
--cc=davem@davemloft.net \
--cc=linville@tuxdriver.com \
--cc=netdev@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).