Re: [PATCH] Coccinelle: limit memdup_user transformation to GFP_KERNEL case

2016-10-01 Thread Michal Marek
Dne 21.9.2016 v 17:48 Julia Lawall napsal(a): > Memdup_user encapsulates a memory allocation with the flag GFP_KERNEL, so > only allow this flag in the original code. > > Signed-off-by: Julia Lawall Applied to kbuild.git#misc. Thanks, Michal

Re: [PATCH] Coccinelle: limit memdup_user transformation to GFP_KERNEL case

2016-10-01 Thread Michal Marek
Dne 21.9.2016 v 17:48 Julia Lawall napsal(a): > Memdup_user encapsulates a memory allocation with the flag GFP_KERNEL, so > only allow this flag in the original code. > > Signed-off-by: Julia Lawall Applied to kbuild.git#misc. Thanks, Michal

[PATCH] Coccinelle: limit memdup_user transformation to GFP_KERNEL case

2016-09-21 Thread Julia Lawall
Memdup_user encapsulates a memory allocation with the flag GFP_KERNEL, so only allow this flag in the original code. Signed-off-by: Julia Lawall --- scripts/coccinelle/api/memdup_user.cocci |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

[PATCH] Coccinelle: limit memdup_user transformation to GFP_KERNEL case

2016-09-21 Thread Julia Lawall
Memdup_user encapsulates a memory allocation with the flag GFP_KERNEL, so only allow this flag in the original code. Signed-off-by: Julia Lawall --- scripts/coccinelle/api/memdup_user.cocci |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git