On 06/16/2016 02:22 PM, Linus Walleij wrote:
Most functions that take a GPIO descriptor in need to check the descriptor for IS_ERR(). We do this mostly in the VALIDATE_DESC() macro except for the gpiod_to_irq() function which needs special handling. Cc: stable@xxxxxxxxxxxxxxx Reported-by: Grygorii Strashko <grygorii.strashko@xxxxxx> Signed-off-by: Linus Walleij <linus.walleij@xxxxxxxxxx> --- ChangeLog v1->v2: - Complain when descriptors contain error values so the offending code can be fixed. ---
Reviewed-by: Grygorii Strashko <grygorii.strashko@xxxxxx> -- regards, -grygorii -- To unsubscribe from this list: send the line "unsubscribe stable" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html