[PATCH 2/4] genirq: return the irq name from free_irq

Christoph Hellwig hch at lst.de
Fri Apr 14 10:36:49 PDT 2017


On Fri, Apr 14, 2017 at 07:28:42PM +0200, Thomas Gleixner wrote:
> On Thu, 13 Apr 2017, Christoph Hellwig wrote:
> 
> > This allows callers to get back at them instead of having to store
> > it in another variable.
> 
> Alternatively you tell the irq code to free it for you. Patch below.

Yes, this should work to.  But I think having the same layer free
something they allocated again is a tad cleaner in terms of layering.

If you prefer this version I can respin the series.



More information about the Linux-nvme mailing list