OSDN Git Service

net: hns3: converting spaces into tabs to avoid checkpatch.pl warning
authorSalil Mehta <salil.mehta@huawei.com>
Fri, 19 Jan 2018 15:20:53 +0000 (15:20 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 22 Jan 2018 21:21:17 +0000 (16:21 -0500)
Spaces were mistakenly used instead of tabs in some of the code related
to reset functionality, which caused checkpatch.pl errors. These were
missed earlier so fixing them now.

Signed-off-by: Salil Mehta <salil.mehta@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c

index ac84816..601b629 100644 (file)
@@ -3318,8 +3318,8 @@ static int hns3_reset_notify(struct hnae3_handle *handle,
 
        switch (type) {
        case HNAE3_UP_CLIENT:
-                ret = hns3_reset_notify_up_enet(handle);
-                break;
+               ret = hns3_reset_notify_up_enet(handle);
+               break;
        case HNAE3_DOWN_CLIENT:
                ret = hns3_reset_notify_down_enet(handle);
                break;