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

2013-03-18 Thread Anton Vorontsov
On Sun, Mar 10, 2013 at 04:23:01PM -0700, Kees Cook wrote: > On Sat, Mar 9, 2013 at 3:57 AM, Alexandru Gheorghiu > wrote: > > Replaced calls to kmalloc and memcpy with a single call to kmemdup. > > This patch was found using coccicheck. > > > > Signed-off-by: Alexandru Gheorghiu [...] > Looks

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

2013-03-18 Thread Anton Vorontsov
On Sun, Mar 10, 2013 at 04:23:01PM -0700, Kees Cook wrote: On Sat, Mar 9, 2013 at 3:57 AM, Alexandru Gheorghiu gheorghiuan...@gmail.com wrote: Replaced calls to kmalloc and memcpy with a single call to kmemdup. This patch was found using coccicheck. Signed-off-by: Alexandru Gheorghiu

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

2013-03-10 Thread Kees Cook
On Sat, Mar 9, 2013 at 3:57 AM, Alexandru Gheorghiu wrote: > Replaced calls to kmalloc and memcpy with a single call to kmemdup. > This patch was found using coccicheck. > > Signed-off-by: Alexandru Gheorghiu > --- > fs/pstore/ram.c |3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) >

[PATCH] fs: pstore: Replaced calls to kmalloc and memcpy with kmemdup

2013-03-10 Thread Alexandru Gheorghiu
Replaced calls to kmalloc and memcpy with a single call to kmemdup. This patch was found using coccicheck. Signed-off-by: Alexandru Gheorghiu --- fs/pstore/ram.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fs/pstore/ram.c b/fs/pstore/ram.c index 288f068..38babb3

[PATCH] fs: pstore: Replaced calls to kmalloc and memcpy with kmemdup

2013-03-10 Thread Alexandru Gheorghiu
Replaced calls to kmalloc and memcpy with a single call to kmemdup. This patch was found using coccicheck. Signed-off-by: Alexandru Gheorghiu gheorghiuan...@gmail.com --- fs/pstore/ram.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fs/pstore/ram.c b/fs/pstore/ram.c

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

2013-03-10 Thread Kees Cook
On Sat, Mar 9, 2013 at 3:57 AM, Alexandru Gheorghiu gheorghiuan...@gmail.com wrote: Replaced calls to kmalloc and memcpy with a single call to kmemdup. This patch was found using coccicheck. Signed-off-by: Alexandru Gheorghiu gheorghiuan...@gmail.com --- fs/pstore/ram.c |3 +-- 1 file