Messages in this thread | | | Date | Fri, 14 Apr 2017 19:36:49 +0200 | From | Christoph Hellwig <> | Subject | Re: [PATCH 2/4] genirq: return the irq name from free_irq |
| |
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.
| |