diff options
author | Andrew Davis <afd@ti.com> | 2024-02-05 12:27:50 -0600 |
---|---|---|
committer | Mathieu Poirier <mathieu.poirier@linaro.org> | 2024-02-05 13:25:51 -0700 |
commit | 585fc027a7f4fc38b6862eeb614c7446f2d5db4a (patch) | |
tree | a5e25d77cc9c8d8b30c1e49d91a3efbfb359400b /security/bpf | |
parent | 48f9a0858bfc502767206cca1d465b173cc0d650 (diff) | |
download | lwn-585fc027a7f4fc38b6862eeb614c7446f2d5db4a.tar.gz lwn-585fc027a7f4fc38b6862eeb614c7446f2d5db4a.zip |
remoteproc: k3-dsp: Use devm_kzalloc() helper
Use device lifecycle managed devm_kzalloc() helper function. This helps
prevent mistakes like freeing out of order in cleanup functions and
forgetting to free on all error paths.
Signed-off-by: Andrew Davis <afd@ti.com>
Link: https://lore.kernel.org/r/20240205182753.36978-3-afd@ti.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Diffstat (limited to 'security/bpf')
0 files changed, 0 insertions, 0 deletions