OSDN Git Service

net: hns3: replace disable_irq by IRQ_NOAUTOEN flag
authorBarry Song <song.bao.hua@hisilicon.com>
Thu, 18 Jun 2020 01:02:10 +0000 (13:02 +1200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 19 Jun 2020 03:43:10 +0000 (20:43 -0700)
commite99a308da3c1518009a740c4d3962f616edeb642
treed2f4bdc47d449d4a51d82e2061bf37960d3881da
parent4d2cad32127e5c83e17b0e1dfd4cd5ef6080301f
net: hns3: replace disable_irq by IRQ_NOAUTOEN flag

disable_irq() after request_irq() is still risk as there is a chance irq
can come after request_irq() and before disable_irq().
this should be done by IRQ_NOAUTOEN flag.

Signed-off-by: Barry Song <song.bao.hua@hisilicon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c