diff options
author | Ryder Lee <ryder.lee@mediatek.com> | 2019-08-21 11:11:15 +0800 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2019-09-05 17:42:32 +0200 |
commit | 13381dcdb3acad453718c2383da3745f99088de7 (patch) | |
tree | 48dd31bf2d6f6348f0531642da43b61ea1f7b7ab /drivers/net/wireless/mediatek/mt76/dma.c | |
parent | 01cfc1b45421cbc1e80511a78f1ea6d261de1075 (diff) | |
download | linux-stable-13381dcdb3acad453718c2383da3745f99088de7.tar.gz linux-stable-13381dcdb3acad453718c2383da3745f99088de7.tar.bz2 linux-stable-13381dcdb3acad453718c2383da3745f99088de7.zip |
mt76: fix some checkpatch warnings
This fixes the following checkpatch warnings:
CHECK: Alignment should match open parenthesis
CHECK: No space is necessary after a cast
Signed-off-by: Ryder Lee <ryder.lee@mediatek.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/dma.c')
-rw-r--r-- | drivers/net/wireless/mediatek/mt76/dma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/dma.c b/drivers/net/wireless/mediatek/mt76/dma.c index dbfd15e861e9..46f5223b4d89 100644 --- a/drivers/net/wireless/mediatek/mt76/dma.c +++ b/drivers/net/wireless/mediatek/mt76/dma.c @@ -493,7 +493,7 @@ mt76_dma_rx_process(struct mt76_dev *dev, struct mt76_queue *q, int budget) skb_reserve(skb, q->buf_offset); if (q == &dev->q_rx[MT_RXQ_MCU]) { - u32 *rxfce = (u32 *) skb->cb; + u32 *rxfce = (u32 *)skb->cb; *rxfce = info; } |