Re: [PATCH 14/20] pinctrl: Allocate sizeof(*p) instead ofsizeof(struct foo)

From: Dong Aisheng
Date: Wed Feb 22 2012 - 01:56:01 EST


On Sun, Feb 19, 2012 at 11:45:54PM -0700, Stephen Warren wrote:
> This hopefully makes it harder to take the sizeof the wrong type.
>
> Signed-off-by: Stephen Warren <swarren@xxxxxxxxxx>

Acked-by: Dong Aisheng <dong.aisheng@xxxxxxxxxx>

Regards
Dong Aisheng

--
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/