]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: add optimization in the hclge_hw_error_set_state
authorShiju Jose <shiju.jose@huawei.com>
Fri, 7 Dec 2018 21:08:03 +0000 (21:08 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 7 Dec 2018 23:57:01 +0000 (15:57 -0800)
commit3f751e78473637747853dab008f0d86764cd8300
tree15d968947a66ac32760b0d683931d93c211ea3f4
parent99f4b825b0a468d62d845287fad751d1eee10884
net: hns3: add optimization in the hclge_hw_error_set_state

1. This patch adds minor loop optimization in the
   hclge_hw_error_set_state function.
2. Adds logging module's name if it fails to configure the
   error interrupts.

Signed-off-by: Shiju Jose <shiju.jose@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_err.c