]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Wed, 5 Sep 2018 12:18:39 +0000 (14:18 +0200)
commit62079cd18f00d17cb646a28c0f609daefa3d4e97
tree87a97085d80861d410c15f9a4b217ffd96271fe5
parent598e2a3467a7598cdfc49b15ff3d54aa1defeb88
net: hns3: Remove the warning when clear reset cause

BugLink: https://bugs.launchpad.net/bugs/1787477
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>
(cherry picked from commit a754e5c4ed0627c3d5695ebbbc7ca53b38c6103a)
Signed-off-by: dann frazier <dann.frazier@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Acked-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c