summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/atheros
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2019-02-02 12:41:29 +0100
committerDavid S. Miller <davem@davemloft.net>2019-02-03 05:14:38 +0100
commit7509ef2add7b86130f0b5e9428cc975d063be9bf (patch)
tree47d6ea3809e2e9857aa296c7d0e397f0f28597c1 /drivers/net/ethernet/atheros
parentbna: fix indentation issue on call to bfa_ioc_pf_failed (diff)
downloadlinux-7509ef2add7b86130f0b5e9428cc975d063be9bf.tar.xz
linux-7509ef2add7b86130f0b5e9428cc975d063be9bf.zip
atl1c: fix indentation issue on an if statement
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>
Diffstat (limited to 'drivers/net/ethernet/atheros')
-rw-r--r--drivers/net/ethernet/atheros/atl1c/atl1c_main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/ethernet/atheros/atl1c/atl1c_main.c b/drivers/net/ethernet/atheros/atl1c/atl1c_main.c
index 3a3b35b5df67..0f1eb1981469 100644
--- a/drivers/net/ethernet/atheros/atl1c/atl1c_main.c
+++ b/drivers/net/ethernet/atheros/atl1c/atl1c_main.c
@@ -1833,10 +1833,10 @@ rrs_checked:
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;
}