projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8fc7976
)
net: hns3: converting spaces into tabs to avoid checkpatch.pl warning
author
Salil Mehta
<
[email protected]
>
Fri, 19 Jan 2018 15:20:53 +0000
(15:20 +0000)
committer
David S. Miller
<
[email protected]
>
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 <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
b/drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
index ac848163ccae42d71a6f4e739c941e13945be804..601b6295d3f82db1b63b2f88689dc8c7161cb333 100644
(file)
--- 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;