Re: [PATCH] staging: Replace kzalloc and memcpy by kmemdup

2015-05-31 Thread gre...@linuxfoundation.org
On Sun, May 31, 2015 at 06:13:00AM -0700, Joe Perches wrote: > On Sun, 2015-05-31 at 11:35 +0900, gre...@linuxfoundation.org wrote: > > On Wed, May 20, 2015 at 07:04:27AM +, Dumbre, Nitesh Dilip (N.) wrote: > > > This patch was generated by coccicheck and replaces kzalloc followed > > > by memc

Re: [PATCH] staging: Replace kzalloc and memcpy by kmemdup

2015-05-31 Thread Joe Perches
On Sun, 2015-05-31 at 11:35 +0900, gre...@linuxfoundation.org wrote: > On Wed, May 20, 2015 at 07:04:27AM +, Dumbre, Nitesh Dilip (N.) wrote: > > This patch was generated by coccicheck and replaces kzalloc followed > > by memcpy with kmemdup > > > > Signed-off-by: Nitesh Dumbre > > Name does

Re: [PATCH] staging: Replace kzalloc and memcpy by kmemdup

2015-05-30 Thread gre...@linuxfoundation.org
On Wed, May 20, 2015 at 07:04:27AM +, Dumbre, Nitesh Dilip (N.) wrote: > This patch was generated by coccicheck and replaces kzalloc followed > by memcpy with kmemdup > > Signed-off-by: Nitesh Dumbre Name doesn't match the From: line, please fix your broken email client. WHat is up with thi

Re: [PATCH] staging: Replace kzalloc and memcpy by kmemdup

2015-05-20 Thread Drokin, Oleg
Thanks! But rather than that, this whole function (lprocfs_exp_setup) needs to go, since it's not used by anything on the client. The removal is sitting in my queue of "stop using procfs in lustre" patches that I am going to submit real soon now and this patch would just create an unnecessary con

[PATCH] staging: Replace kzalloc and memcpy by kmemdup

2015-05-20 Thread Dumbre, Nitesh Dilip (N.)
This patch was generated by coccicheck and replaces kzalloc followed by memcpy with kmemdup Signed-off-by: Nitesh Dumbre diff --git a/drivers/staging/lustre/lustre/obdclass/lprocfs_status.c b/drivers/staging/lustre/lustre/obdclass/lprocfs_status.c index 57c6ddd..c988be4 100644 --- a/drivers/sta