From: Joe Perches <joe@perches.com>
To: Ryder Lee <ryder.lee@mediatek.com>, Felix Fietkau <nbd@nbd.name>,
Lorenzo Bianconi <lorenzo.bianconi@redhat.com>
Cc: Roy Luo <royluo@google.com>, YF Luo <yf.luo@mediatek.com>,
Yiwei Chung <yiwei.chung@mediatek.com>,
Sean Wang <sean.wang@mediatek.com>,
linux-wireless@vger.kernel.org,
linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v1 5/6] mt76: fix some checkpatch warnings
Date: Wed, 24 Jul 2019 04:03:46 -0700 [thread overview]
Message-ID: <54692f19e845a74650c1d24cbe7b79c5dad7b061.camel@perches.com> (raw)
In-Reply-To: <0afa87cc70b34ee17d6c2247dfc8dac92c36852f.1563944758.git.ryder.lee@mediatek.com>
On Wed, 2019-07-24 at 16:58 +0800, Ryder Lee wrote:
> This fixes the following checkpatch warnings:
[]
> diff --git a/drivers/net/wireless/mediatek/mt76/agg-rx.c b/drivers/net/wireless/mediatek/mt76/agg-rx.c
[]
> @@ -74,15 +75,14 @@ mt76_rx_aggr_check_release(struct mt76_rx_tid *tid, struct sk_buff_head *frames)
> for (idx = (tid->head + 1) % tid->size;
> idx != start && nframes;
> idx = (idx + 1) % tid->size) {
> -
> skb = tid->reorder_buf[idx];
> if (!skb)
> continue;
>
> nframes--;
> - status = (struct mt76_rx_status *) skb->cb;
> + status = (struct mt76_rx_status *)skb->cb;
> if (!time_after(jiffies, status->reorder_time +
> - REORDER_TIMEOUT))
> + REORDER_TIMEOUT))
trivia/bikeshedding: perhaps better slightly differently:
if (!time_after(jiffies,
status->reorder_time + REORDER_TIMEOUT))
next prev parent reply other threads:[~2019-07-24 11:03 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-24 8:58 [PATCH v1 0/6] fix many checkpatch.pl warnings Ryder Lee
2019-07-24 8:58 ` [PATCH v1 1/6] mt76: Add paragraphs to describe the config symbols fully Ryder Lee
2019-07-24 8:58 ` [PATCH v1 2/6] mt76: mt7603: fix some checkpatch warnings Ryder Lee
2019-07-24 8:58 ` [PATCH v1 3/6] mt76: mt7615: " Ryder Lee
2019-07-24 8:58 ` [PATCH v1 4/6] mt76: mt76x02: " Ryder Lee
2019-07-24 8:58 ` [PATCH v1 5/6] mt76: " Ryder Lee
2019-07-24 11:03 ` Joe Perches [this message]
2019-08-20 12:29 ` Felix Fietkau
2019-07-24 8:58 ` [PATCH v1 6/6] mt76: switch to SPDX tag instead of verbose boilerplate text Ryder Lee
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=54692f19e845a74650c1d24cbe7b79c5dad7b061.camel@perches.com \
--to=joe@perches.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=linux-wireless@vger.kernel.org \
--cc=lorenzo.bianconi@redhat.com \
--cc=nbd@nbd.name \
--cc=royluo@google.com \
--cc=ryder.lee@mediatek.com \
--cc=sean.wang@mediatek.com \
--cc=yf.luo@mediatek.com \
--cc=yiwei.chung@mediatek.com \
/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
all inboxes | Powered by JetHome®