Re: [PATCH] staging: lustre: replace kzalloc with copy_from_user with memdup_user

2015-04-03 Thread Julia Lawall
On Fri, 3 Apr 2015, Drokin, Oleg wrote: > Hello! > > On Apr 2, 2015, at 6:18 AM, Julia Lawall wrote: > > >> Julia, I wonder if you happen to have a bunch of other patches to get rid > >> of the rest of OBD_ALLOC and OBD_FREE stuff by any chance? > > I can generate them again, but I wasn't

Re: [PATCH] staging: lustre: replace kzalloc with copy_from_user with memdup_user

2015-04-03 Thread Drokin, Oleg
Hello! On Apr 2, 2015, at 6:18 AM, Julia Lawall wrote: >> Julia, I wonder if you happen to have a bunch of other patches to get rid of >> the rest of OBD_ALLOC and OBD_FREE stuff by any chance? > I can generate them again, but I wasn't clear on what was wanted. I would > really prefer

Re: [PATCH] staging: lustre: replace kzalloc with copy_from_user with memdup_user

2015-04-03 Thread Drokin, Oleg
Hello! On Apr 2, 2015, at 6:18 AM, Julia Lawall wrote: Julia, I wonder if you happen to have a bunch of other patches to get rid of the rest of OBD_ALLOC and OBD_FREE stuff by any chance? I can generate them again, but I wasn't clear on what was wanted. I would really prefer something

Re: [PATCH] staging: lustre: replace kzalloc with copy_from_user with memdup_user

2015-04-03 Thread Julia Lawall
On Fri, 3 Apr 2015, Drokin, Oleg wrote: Hello! On Apr 2, 2015, at 6:18 AM, Julia Lawall wrote: Julia, I wonder if you happen to have a bunch of other patches to get rid of the rest of OBD_ALLOC and OBD_FREE stuff by any chance? I can generate them again, but I wasn't clear on what

Re: [PATCH] staging: lustre: replace kzalloc with copy_from_user with memdup_user

2015-04-02 Thread Julia Lawall
On Tue, 31 Mar 2015, Drokin, Oleg wrote: > > On Mar 31, 2015, at 11:57 AM, gre...@linuxfoundation.org wrote: > > > On Tue, Mar 31, 2015 at 05:15:23PM +0200, Julia Lawall wrote: > >> On Tue, 31 Mar 2015, Dhere, Chaitanya (C.) wrote: > >> > >>> This patch replaces kzalloc and copy_from_user with

Re: [PATCH] staging: lustre: replace kzalloc with copy_from_user with memdup_user

2015-04-02 Thread Julia Lawall
On Tue, 31 Mar 2015, Drokin, Oleg wrote: On Mar 31, 2015, at 11:57 AM, gre...@linuxfoundation.org wrote: On Tue, Mar 31, 2015 at 05:15:23PM +0200, Julia Lawall wrote: On Tue, 31 Mar 2015, Dhere, Chaitanya (C.) wrote: This patch replaces kzalloc and copy_from_user with memdup_user

Re: [PATCH] staging: lustre: replace kzalloc with copy_from_user with memdup_user

2015-03-31 Thread Drokin, Oleg
On Mar 31, 2015, at 11:57 AM, gre...@linuxfoundation.org wrote: > On Tue, Mar 31, 2015 at 05:15:23PM +0200, Julia Lawall wrote: >> On Tue, 31 Mar 2015, Dhere, Chaitanya (C.) wrote: >> >>> This patch replaces kzalloc and copy_from_user with memdup_user call >>> This change was detected with

Re: [PATCH] staging: lustre: replace kzalloc with copy_from_user with memdup_user

2015-03-31 Thread gre...@linuxfoundation.org
On Tue, Mar 31, 2015 at 05:15:23PM +0200, Julia Lawall wrote: > On Tue, 31 Mar 2015, Dhere, Chaitanya (C.) wrote: > > > This patch replaces kzalloc and copy_from_user with memdup_user call > > This change was detected with coccinelle tool > > > > Signed-off-by: Chaitanya Dhere > > --- > >

Re: [PATCH] staging: lustre: replace kzalloc with copy_from_user with memdup_user

2015-03-31 Thread Julia Lawall
On Tue, 31 Mar 2015, Dhere, Chaitanya (C.) wrote: > This patch replaces kzalloc and copy_from_user with memdup_user call > This change was detected with coccinelle tool > > Signed-off-by: Chaitanya Dhere > --- > drivers/staging/lustre/lustre/llite/file.c | 11 +++ > 1 file changed, 3

[PATCH] staging: lustre: replace kzalloc with copy_from_user with memdup_user

2015-03-31 Thread Dhere, Chaitanya (C.)
This patch replaces kzalloc and copy_from_user with memdup_user call This change was detected with coccinelle tool Signed-off-by: Chaitanya Dhere --- drivers/staging/lustre/lustre/llite/file.c | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) diff --git

Re: [PATCH] staging: lustre: replace kzalloc with copy_from_user with memdup_user

2015-03-31 Thread Julia Lawall
On Tue, 31 Mar 2015, Dhere, Chaitanya (C.) wrote: This patch replaces kzalloc and copy_from_user with memdup_user call This change was detected with coccinelle tool Signed-off-by: Chaitanya Dhere cvija...@visteon.com --- drivers/staging/lustre/lustre/llite/file.c | 11 +++ 1

[PATCH] staging: lustre: replace kzalloc with copy_from_user with memdup_user

2015-03-31 Thread Dhere, Chaitanya (C.)
This patch replaces kzalloc and copy_from_user with memdup_user call This change was detected with coccinelle tool Signed-off-by: Chaitanya Dhere cvija...@visteon.com --- drivers/staging/lustre/lustre/llite/file.c | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) diff --git

Re: [PATCH] staging: lustre: replace kzalloc with copy_from_user with memdup_user

2015-03-31 Thread gre...@linuxfoundation.org
On Tue, Mar 31, 2015 at 05:15:23PM +0200, Julia Lawall wrote: On Tue, 31 Mar 2015, Dhere, Chaitanya (C.) wrote: This patch replaces kzalloc and copy_from_user with memdup_user call This change was detected with coccinelle tool Signed-off-by: Chaitanya Dhere cvija...@visteon.com ---

Re: [PATCH] staging: lustre: replace kzalloc with copy_from_user with memdup_user

2015-03-31 Thread Drokin, Oleg
On Mar 31, 2015, at 11:57 AM, gre...@linuxfoundation.org wrote: On Tue, Mar 31, 2015 at 05:15:23PM +0200, Julia Lawall wrote: On Tue, 31 Mar 2015, Dhere, Chaitanya (C.) wrote: This patch replaces kzalloc and copy_from_user with memdup_user call This change was detected with coccinelle tool