diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2016-09-21 17:48:39 +0200 |
---|---|---|
committer | Michal Marek <mmarek@suse.com> | 2016-10-01 23:03:09 +0200 |
commit | 43d96390d57aa0e61d15ce2bcb887df8516d58f5 (patch) | |
tree | ba3d86262a4c413d26982a117eb43b0cd185bfba /crypto/rng.c | |
parent | Linux 4.8-rc1 (diff) | |
download | linux-43d96390d57aa0e61d15ce2bcb887df8516d58f5.tar.xz linux-43d96390d57aa0e61d15ce2bcb887df8516d58f5.zip |
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: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Michal Marek <mmarek@suse.com>
Diffstat (limited to 'crypto/rng.c')
0 files changed, 0 insertions, 0 deletions