Re: [v1,1/4] crypto: crypto4xx - shuffle iomap in front of request_irq

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Dec 22, 2017 at 09:18:35PM +0100, Christian Lamparter wrote:
> It is possible to avoid the ce_base null pointer check in the
> drivers' interrupt handler routine "crypto4xx_ce_interrupt_handler()"
> by simply doing the iomap in front of the IRQ registration.
> 
> This way, the ce_base will always be valid in the handler and
> a branch in an critical path can be avoided.
> 
> Signed-off-by: Christian Lamparter <chunkeey@xxxxxxxxx>

All applied.  Thanks.
-- 
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux