[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <54692f19e845a74650c1d24cbe7b79c5dad7b061.camel@perches.com>
Date: Wed, 24 Jul 2019 04:03:46 -0700
From: Joe Perches <joe@...ches.com>
To: Ryder Lee <ryder.lee@...iatek.com>, Felix Fietkau <nbd@....name>,
Lorenzo Bianconi <lorenzo.bianconi@...hat.com>
Cc: Roy Luo <royluo@...gle.com>, YF Luo <yf.luo@...iatek.com>,
Yiwei Chung <yiwei.chung@...iatek.com>,
Sean Wang <sean.wang@...iatek.com>,
linux-wireless@...r.kernel.org, linux-mediatek@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v1 5/6] mt76: fix some checkpatch warnings
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))
Powered by blists - more mailing lists