Re: [PATCH v3 1/3] remoteproc: k3-r5: Use devm_rproc_alloc() helper

2024-08-07 Thread Beleswar Prasad Padhi
Hi Andrew, On 07/08/24 19:07, Andrew Davis wrote: On 8/7/24 1:22 AM, Beleswar Padhi wrote: Use the device lifecycle managed allocation function. This helps prevent mistakes like freeing out of order in cleanup functions and forgetting to free on error paths. Signed-off-by: Beleswar Padhi ---

Re: [PATCH v3 1/3] remoteproc: k3-r5: Use devm_rproc_alloc() helper

2024-08-07 Thread Andrew Davis
On 8/7/24 1:22 AM, Beleswar Padhi wrote: Use the device lifecycle managed allocation function. This helps prevent mistakes like freeing out of order in cleanup functions and forgetting to free on error paths. Signed-off-by: Beleswar Padhi --- drivers/remoteproc/ti_k3_r5_remoteproc.c | 6 ++---

[PATCH v3 1/3] remoteproc: k3-r5: Use devm_rproc_alloc() helper

2024-08-06 Thread Beleswar Padhi
Use the device lifecycle managed allocation function. This helps prevent mistakes like freeing out of order in cleanup functions and forgetting to free on error paths. Signed-off-by: Beleswar Padhi --- drivers/remoteproc/ti_k3_r5_remoteproc.c | 6 ++ 1 file changed, 2 insertions(+), 4 deleti