Re: [PATCH] coccinelle: api: check for propagation of error from platform_get_irq

Julia Lawall
2015-12-26T20:08:39Z

On Sat, 26 Dec 2015, Sergei Shtylyov wrote:

> On 12/26/2015 10:24 PM, Julia Lawall wrote:
>
> > The error return value of platform_get_irq seems to often get dropped.
>
> Maybe it was intentional (see my recent follow-up to your netdev patch).
> But if an error gets unconditionally overriden, deferred probing can't work.
> So your patches seem good things in the end. Thank you!

Actually, this semantic patch overloos the case where a constant is
returned directly, which is apparently also popular. I can update this if
the whole concept is useful, but that's not clear at the moment...

julia