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

From: SF Markus Elfring
Date: Sun Dec 27 2015 - 11:24:47 EST


>> https://cwe.mitre.org/data/definitions/252.html
>
> The value is not unchecked.

Would you like to express any stronger relationship between
the function call example and the occurrence of an if statement
by the discussed SmPL script?


> I made a specific rule because the specific problem is quite common.

Can it become also interesting to generalise this search pattern?

Regards,
Markus
--
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/