diff options
| author | Björn Töpel <bjorn.topel@intel.com> | 2021-01-22 16:47:24 +0100 |
|---|---|---|
| committer | Daniel Borkmann <daniel@iogearbox.net> | 2021-01-26 00:05:02 +0100 |
| commit | d08a17d6de203cca245db11715c95af0b87ec5a3 (patch) | |
| tree | 4985b51875a100dd5c00f4c5de4ba197ec6ff7b6 /include/linux | |
| parent | 93dd4a06c0e300a2a6538a39f8a30e7b83ff2c66 (diff) | |
selftests/bpf: Consistent malloc/calloc usage
Use calloc instead of malloc where it makes sense, and avoid C++-style
void *-cast.
Signed-off-by: Björn Töpel <bjorn.topel@intel.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20210122154725.22140-12-bjorn.topel@gmail.com
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
