]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
atl1c: fix indentation issue on an if statement
authorColin Ian King <colin.king@canonical.com>
Sat, 2 Feb 2019 11:41:29 +0000 (11:41 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 3 Feb 2019 04:14:38 +0000 (20:14 -0800)
An if statement is indented one level too deep, fix this by removing
the extra tabs. Also add some spaces to the dev_warn arguments to clean
up checkpatch warnings.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/atheros/atl1c/atl1c_main.c

index 3a3b35b5df6739a5149540763e2261f9b2c0f866..0f1eb198146958fedb766d8a0f90161d7b08073b 100644 (file)
@@ -1833,10 +1833,10 @@ static void atl1c_clean_rx_irq(struct atl1c_adapter *adapter,
                atl1c_clean_rrd(rrd_ring, rrs, rfd_num);
                if (rrs->word3 & (RRS_RX_ERR_SUM | RRS_802_3_LEN_ERR)) {
                        atl1c_clean_rfd(rfd_ring, rrs, rfd_num);
-                               if (netif_msg_rx_err(adapter))
-                                       dev_warn(&pdev->dev,
-                                               "wrong packet! rrs word3 is %x\n",
-                                               rrs->word3);
+                       if (netif_msg_rx_err(adapter))
+                               dev_warn(&pdev->dev,
+                                        "wrong packet! rrs word3 is %x\n",
+                                        rrs->word3);
                        continue;
                }