]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: Add missing break in misc_irq_handle
authorYunsheng Lin <linyunsheng@huawei.com>
Fri, 1 Jun 2018 16:52:08 +0000 (17:52 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Jun 2018 18:23:57 +0000 (14:23 -0400)
commitc9833b1a32253eed12d327bb319c9815063b4fd7
treef8eaca62e0d9bead1fd4b6460b800f082cb61c74
parent472978688123e8a0b365d83bbb3141fc1b247e35
net: hns3: Add missing break in misc_irq_handle

There is a break missing in the switch/case handling in
hclge_misc_irq_handle, which causes the log to output
uncorrectly.

This patch adds the missing break, and change the dev_dbg
to dev_warn in order to better catch the error.

Fixes: 85e2c7bfd9a9 ("net: hns3: Add mailbox interrupt handling to PF driver")
Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com>
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