Re: [PATCH] pinctrl: don't try to print function groups if we can't get them

From: Linus Walleij
Date: Wed Jun 10 2015 - 04:45:01 EST


On Mon, Jun 8, 2015 at 5:16 PM, Ludovic Desroches
<ludovic.desroches@xxxxxxxxx> wrote:

> There is no reason to try to print groups associated to a function if
> get_function_groups returns an error. Moreover, it can lead to a NULL
> pointer dereference error.
>
> Signed-off-by: Ludovic Desroches <ludovic.desroches@xxxxxxxxx>

Patch applied.

Yours,
Linus Walleij
--
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/