]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: Remove the warning when clear reset cause
authorPeng Li <lipeng321@huawei.com>
Fri, 6 Jul 2018 10:28:03 +0000 (11:28 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 7 Jul 2018 02:13:07 +0000 (11:13 +0900)
commit4349ae9a424985c5e3158c3462f796a6017c47d8
tree0606ca5446de7cda3657c62977d37bf61a4b100d
parente9d4b0099c59e5107b8a1555f731dba6675a20d1
net: hns3: Remove the warning when clear reset cause

Only the core/global/IMP reset need clear cause, other type does not
need do it. The warning may be treated as error as it is normal. This
patch removes the warning.

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