Skip to content
Commit 43d96390 authored by Julia Lawall's avatar Julia Lawall Committed by Michal Marek
Browse files

Coccinelle: limit memdup_user transformation to GFP_KERNEL case



Memdup_user encapsulates a memory allocation with the flag GFP_KERNEL, so
only allow this flag in the original code.

Signed-off-by: default avatarJulia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: default avatarMichal Marek <mmarek@suse.com>
parent 29b4817d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment