All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next] net: hns3: converting spaces into tabs to avoid checkpatch.pl warning
@ 2018-01-19 15:20 Salil Mehta
  2018-01-22 21:21 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Salil Mehta @ 2018-01-19 15:20 UTC (permalink / raw)
  To: davem
  Cc: salil.mehta, yisen.zhuang, lipeng321, mehta.salil.lnk, netdev,
	linux-kernel, linuxarm

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

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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH net-next] net: hns3: converting spaces into tabs to avoid checkpatch.pl warning
  2018-01-19 15:20 [PATCH net-next] net: hns3: converting spaces into tabs to avoid checkpatch.pl warning Salil Mehta
@ 2018-01-22 21:21 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2018-01-22 21:21 UTC (permalink / raw)
  To: salil.mehta
  Cc: yisen.zhuang, lipeng321, mehta.salil.lnk, netdev, linux-kernel, linuxarm

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-01-22 21:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-19 15:20 [PATCH net-next] net: hns3: converting spaces into tabs to avoid checkpatch.pl warning Salil Mehta
2018-01-22 21:21 ` David Miller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.