Re: [PATCH 14/20] pinctrl: Allocate sizeof(*p) instead ofsizeof(struct foo)
From: Linus Walleij
Date: Wed Feb 22 2012 - 01:25:10 EST
On Mon, Feb 20, 2012 at 7:45 AM, Stephen Warren <swarren@xxxxxxxxxx> wrote:
> This hopefully makes it harder to take the sizeof the wrong type.
>
> Signed-off-by: Stephen Warren <swarren@xxxxxxxxxx>
Acked-by: Linus Walleij <linus.walleij@xxxxxxxxxx>
Would apply it if it wasn't for the conflicts...
Thanks,
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/