Re: [PATCH] fs: pstore: Replaced calls to kmalloc and memcpy withkmemdup

From: Anton Vorontsov
Date: Mon Mar 18 2013 - 22:45:23 EST


On Sun, Mar 10, 2013 at 04:23:01PM -0700, Kees Cook wrote:
> On Sat, Mar 9, 2013 at 3:57 AM, Alexandru Gheorghiu
> <gheorghiuandru@xxxxxxxxx> wrote:
> > Replaced calls to kmalloc and memcpy with a single call to kmemdup.
> > This patch was found using coccicheck.
> >
> > Signed-off-by: Alexandru Gheorghiu <gheorghiuandru@xxxxxxxxx>
[...]
> Looks fine to me. Thanks!
>
> Acked-by: Kees Cook <keescook@xxxxxxxxxxxx>

Applied to linux-pstore.git, thanks a lot!

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