Re: [PATCH 18/18] pinctrl: pinconf-generic: Use kmemdup instead of kmalloc + memcpy

From: Linus Walleij
Date: Tue May 27 2014 - 10:06:52 EST


On Mon, May 26, 2014 at 5:21 PM, Benoit Taine <benoit.taine@xxxxxxx> wrote:

> This issue was reported by coccicheck using the semantic patch
> at scripts/coccinelle/api/memdup.cocci
>
> Signed-off-by: Benoit Taine <benoit.taine@xxxxxxx>
> ---
> Not compile tested, due incompatible architecture.

Excellent fix, thanks. 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/