diff options
author | Beleswar Padhi <b-padhi@ti.com> | 2024-12-19 14:05:42 +0300 |
---|---|---|
committer | Mathieu Poirier <mathieu.poirier@linaro.org> | 2025-01-06 19:14:11 +0300 |
commit | f2e3d0d70986b1f135963dc28462fce4e65c0fc4 (patch) | |
tree | 7a1c1b7d5525192f8d776a1c1f499dba625a35a3 /tools/perf/scripts/python/syscall-counts.py | |
parent | 972361e397797320a624d1a5b457520c10ab4a28 (diff) | |
download | linux-f2e3d0d70986b1f135963dc28462fce4e65c0fc4.tar.xz |
remoteproc: k3-r5: 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: Beleswar Padhi <b-padhi@ti.com>
Reviewed-by: Andrew Davis <afd@ti.com>
Link: https://lore.kernel.org/r/20241219110545.1898883-3-b-padhi@ti.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions