aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/autoload.c
diff options
context:
space:
mode:
authorYang Yingliang <[email protected]>2023-01-19 17:22:10 +0800
committerJakub Kicinski <[email protected]>2023-01-20 18:15:10 -0800
commit5e64f59a3cc2c4cfba748b87f0761d865dec7924 (patch)
tree981d721c1de35311a6b02567a39ce228f9b268a6 /tools/testing/selftests/bpf/prog_tests/autoload.c
parentbad5532ecf3300620c5a68d63eda3346e51488f8 (diff)
net: microchip: vcap: use kmemdup() to allocate memory
Use kmemdup() helper instead of open-coding to simplify the code when allocating newckf and newcaf. Generated by: scripts/coccinelle/api/memdup.cocci Signed-off-by: Yang Yingliang <[email protected]> Reviewed-by: Jesse Brandeburg <[email protected]> Reviewed-by: Steen Hegelund <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions