qlge: fix some indentation issues
authorColin Ian King <colin.king@canonical.com>
Tue, 12 Feb 2019 16:08:07 +0000 (16:08 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 Feb 2019 05:03:39 +0000 (21:03 -0800)
There are some statements that are indented incorrectly. Fix these.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qlge/qlge_ethtool.c
drivers/net/ethernet/qlogic/qlge/qlge_main.c

index 5edbd532127d479f80165d252747676ed8010d3a..a6886cc5654cede0dcf3dbcee370fd7be53a18c9 100644 (file)
@@ -249,8 +249,8 @@ static void ql_update_stats(struct ql_adapter *qdev)
 
        spin_lock(&qdev->stats_lock);
        if (ql_sem_spinlock(qdev, qdev->xg_sem_mask)) {
-                       netif_err(qdev, drv, qdev->ndev,
-                                 "Couldn't get xgmac sem.\n");
+               netif_err(qdev, drv, qdev->ndev,
+                         "Couldn't get xgmac sem.\n");
                goto quit;
        }
        /*
index 059ba9429e51a3193f3af73c16a20ce94ef42844..096515c2726335da14a2db04afe04029279be2b9 100644 (file)
@@ -1159,10 +1159,10 @@ static void ql_update_lbq(struct ql_adapter *qdev, struct rx_ring *rx_ring)
 
                        map = lbq_desc->p.pg_chunk.map +
                                lbq_desc->p.pg_chunk.offset;
-                               dma_unmap_addr_set(lbq_desc, mapaddr, map);
+                       dma_unmap_addr_set(lbq_desc, mapaddr, map);
                        dma_unmap_len_set(lbq_desc, maplen,
                                        rx_ring->lbq_buf_size);
-                               *lbq_desc->addr = cpu_to_le64(map);
+                       *lbq_desc->addr = cpu_to_le64(map);
 
                        pci_dma_sync_single_for_device(qdev->pdev, map,
                                                rx_ring->lbq_buf_size,