diff options
| author | Qing Wang <[email protected]> | 2021-10-18 11:30:48 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2021-10-21 01:43:15 +0000 |
| commit | db5b6a46f43aba3473c8b6b1d11aff1fa2aa354b (patch) | |
| tree | 1b8b03470c2f3c701ae0d0a4b7fca7e8b50f16b7 /scripts/bpf_doc.py | |
| parent | selftests/bpf: Some more atomic tests (diff) | |
| download | kernel-db5b6a46f43aba3473c8b6b1d11aff1fa2aa354b.tar.gz kernel-db5b6a46f43aba3473c8b6b1d11aff1fa2aa354b.zip | |
net: bpf: Switch over to memdup_user()
This patch fixes the following Coccinelle warning:
net/bpf/test_run.c:361:8-15: WARNING opportunity for memdup_user
net/bpf/test_run.c:1055:8-15: WARNING opportunity for memdup_user
Use memdup_user rather than duplicating its implementation
This is a little bit restricted to reduce false positives
Signed-off-by: Qing Wang <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Acked-by: John Fastabend <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions
