aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/autoload.c
diff options
context:
space:
mode:
authorBruce Allan <[email protected]>2021-03-02 10:12:10 -0800
committerTony Nguyen <[email protected]>2021-03-31 14:21:28 -0700
commit36ac7911fae7575b8cebf9326a23901cba28c015 (patch)
tree976530b537f672b800167163949c12433d01af6a /tools/testing/selftests/bpf/prog_tests/autoload.c
parent805f980bfe0e7d07cd4cd5d1183722f0355c0f4a (diff)
ice: correct memory allocation call
Use *malloc() instead of *calloc() when allocating only a single object as opposed to an array of objects. Signed-off-by: Bruce Allan <[email protected]> Tested-by: Tony Brelinski <[email protected]> Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions