Re: [PATCH 2/2] genirq: Add error code reporting to irq_{reserve,destroy}_ipi
From: Matt Redfearn
Date: Fri Apr 22 2016 - 11:48:26 EST
On Fri, Apr 22, 2016 at 05:35:46PM +0200, Thomas Gleixner wrote:
> On Fri, 22 Apr 2016, Matt Redfearn wrote:
>
> > Make these functions return appropriate error codes when something goes
> > wrong.
>
> And the reason for this change is?
Hi Thomas,
Mainly for irq_destroy_ipi, where the first patch in the set makes
it possible for the request to fail. But in general with both of these
functions it is possible for them to silently fail without giving the
caller any idication if inapropriate arguments are passed.
Thanks,
Matt