diff options
| author | Andrew Davis <[email protected]> | 2024-01-23 12:49:08 -0600 |
|---|---|---|
| committer | Mathieu Poirier <[email protected]> | 2024-02-02 11:04:33 -0700 |
| commit | 92a0915ac3eb571fc014c249c66db802be7fdac9 (patch) | |
| tree | e67943b8fce88ac9565c7583a3b2faa4e77dd64e /tools/testing/selftests/bpf/prog_tests/tcp_custom_syncookie.c | |
| parent | 961a919a6dbd24b670766ae0613085d63e9c79e3 (diff) | |
remoteproc: k3-dsp: Use devm_kcalloc() helper
Use a device lifecycle managed action to free memory. This helps prevent
mistakes like freeing out of order in cleanup functions and forgetting to
free on error paths.
Signed-off-by: Andrew Davis <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mathieu Poirier <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/tcp_custom_syncookie.c')
0 files changed, 0 insertions, 0 deletions