diff options
author | Mariusz Kozlowski <m.kozlowski@tuxland.pl> | 2008-03-28 22:41:29 +0100 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2008-03-29 03:14:49 +0100 |
commit | 80950f8b71176ae8b6f2a78de039b8bc2da7f480 (patch) | |
tree | e7d381946e6216e8858e794999ce44298138c0f1 | |
parent | netdev: ehea: port_lock semaphore to mutex (diff) | |
download | linux-80950f8b71176ae8b6f2a78de039b8bc2da7f480.tar.xz linux-80950f8b71176ae8b6f2a78de039b8bc2da7f480.zip |
net: yellowfin parenthesis fix
The code is under unused #ifdef NO_TXSTATS branch but its better to have it
fixed.
Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
-rw-r--r-- | drivers/net/yellowfin.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/yellowfin.c b/drivers/net/yellowfin.c index fe6ff3e3d525..24640726f8bb 100644 --- a/drivers/net/yellowfin.c +++ b/drivers/net/yellowfin.c @@ -770,14 +770,14 @@ static void yellowfin_init_ring(struct net_device *dev) /* Branch on Tx error. */ yp->tx_ring[j].dbdma_cmd = cpu_to_le32(CMD_STOP); yp->tx_ring[j].branch_addr = cpu_to_le32(yp->tx_ring_dma + - (j+1)*sizeof(struct yellowfin_desc); + (j+1)*sizeof(struct yellowfin_desc)); j++; if (yp->flags & FullTxStatus) { yp->tx_ring[j].dbdma_cmd = cpu_to_le32(CMD_TXSTATUS | sizeof(*yp->tx_status)); yp->tx_ring[j].request_cnt = sizeof(*yp->tx_status); yp->tx_ring[j].addr = cpu_to_le32(yp->tx_status_dma + - i*sizeof(struct tx_status_words); + i*sizeof(struct tx_status_words)); } else { /* Symbios chips write only tx_errs word. */ yp->tx_ring[j].dbdma_cmd = |