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

From: Sergei Shtylyov
Date: Sat Dec 26 2015 - 15:29:18 EST


On 12/26/2015 11:24 PM, Julia Lawall wrote:

The conclusion seems to be that it is useful to override the value, so we
can just drop this semantic patch.

No! As I said, unconditionally overriding an error value breaks the deferred probing. It's actually a bug to override it, so the patch seems *very* useful.

julia

MBR, Sergei

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/