Commit 26a5e9b8 authored by Kamal Heib's avatar Kamal Heib Committed by Greg Kroah-Hartman

staging: mt7621-eth: Alignment should match open parenthesis

Fix alignment issues reported by checkpatch.pl.
Signed-off-by: default avatarKamal Heib <kamalheib1@gmail.com>
Signed-off-by: default avatarNeilBrown <neil@brown.name>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent fb6d1cb4
...@@ -325,10 +325,10 @@ static int mtk_dma_rx_alloc(struct mtk_eth *eth, struct mtk_rx_ring *ring) ...@@ -325,10 +325,10 @@ static int mtk_dma_rx_alloc(struct mtk_eth *eth, struct mtk_rx_ring *ring)
goto no_rx_mem; goto no_rx_mem;
} }
ring->rx_dma = dma_alloc_coherent(eth->dev, ring->rx_dma =
dma_alloc_coherent(eth->dev,
ring->rx_ring_size * sizeof(*ring->rx_dma), ring->rx_ring_size * sizeof(*ring->rx_dma),
&ring->rx_phys, &ring->rx_phys, GFP_ATOMIC | __GFP_ZERO);
GFP_ATOMIC | __GFP_ZERO);
if (!ring->rx_dma) if (!ring->rx_dma)
goto no_rx_mem; goto no_rx_mem;
...@@ -1355,10 +1355,10 @@ static int mtk_pdma_tx_alloc(struct mtk_eth *eth) ...@@ -1355,10 +1355,10 @@ static int mtk_pdma_tx_alloc(struct mtk_eth *eth)
if (!ring->tx_buf) if (!ring->tx_buf)
goto no_tx_mem; goto no_tx_mem;
ring->tx_dma = dma_alloc_coherent(eth->dev, ring->tx_dma =
dma_alloc_coherent(eth->dev,
ring->tx_ring_size * sizeof(*ring->tx_dma), ring->tx_ring_size * sizeof(*ring->tx_dma),
&ring->tx_phys, &ring->tx_phys, GFP_ATOMIC | __GFP_ZERO);
GFP_ATOMIC | __GFP_ZERO);
if (!ring->tx_dma) if (!ring->tx_dma)
goto no_tx_mem; goto no_tx_mem;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment