[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200911.174105.1389097498853421345.davem@davemloft.net>
Date: Fri, 11 Sep 2020 17:41:05 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: song.bao.hua@...ilicon.com
Cc: kuba@...nel.org, netdev@...r.kernel.org, linuxarm@...wei.com,
salil.mehta@...wei.com, linyunsheng@...wei.com
Subject: Re: [PATCH net-next] net: hns: use IRQ_NOAUTOEN to avoid irq is
enabled due to request_irq
From: Barry Song <song.bao.hua@...ilicon.com>
Date: Fri, 11 Sep 2020 13:55:10 +1200
> Rather than doing request_irq and then disabling the irq immediately, it
> should be safer to use IRQ_NOAUTOEN flag for the irq. It removes any gap
> between request_irq() and disable_irq().
>
> Cc: Salil Mehta <salil.mehta@...wei.com>
> Reviewed-by: Yunsheng Lin <linyunsheng@...wei.com>
> Signed-off-by: Barry Song <song.bao.hua@...ilicon.com>
Applied.
Powered by blists - more mailing lists