diff mbox series

[net-next] net: hns3: converting spaces into tabs to avoid checkpatch.pl warning

Message ID 20180119152053.8216-1-salil.mehta@huawei.com
State Accepted
Commit e158624155f194da6fcaea67639f91c2a467bddf
Headers show
Series [net-next] net: hns3: converting spaces into tabs to avoid checkpatch.pl warning | expand

Commit Message

Salil Mehta Jan. 19, 2018, 3:20 p.m. UTC
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>

---
 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

-- 
2.7.4

Comments

David Miller Jan. 22, 2018, 9:21 p.m. UTC | #1
From: Salil Mehta <salil.mehta@huawei.com>

Date: Fri, 19 Jan 2018 15:20:53 +0000

> 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>


Applied, thank you.
diff mbox series

Patch

diff --git a/drivers/net/ethernet/hisilicon/hns3/hns3_enet.c b/drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
index ac84816..601b629 100644
--- a/drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
+++ b/drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
@@ -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;