[PATCH 0/3] ti_sci: Address some issues found by Smatch
Andrew Goodbody
andrew.goodbody at linaro.org
Mon Oct 6 17:19:58 CEST 2025
Prevent a memory leak from a non-freed malloc.
Return an error code on an error path.
Assign a value to a pointer before it is dereferenced.
Signed-off-by: Andrew Goodbody <andrew.goodbody at linaro.org>
---
Andrew Goodbody (3):
ti_sci: Prevent memory leak
ti_sci: Provide error code on error exit
ti_sci: Pointer is never assigned to
drivers/firmware/ti_sci.c | 20 ++++++++++++++++----
1 file changed, 16 insertions(+), 4 deletions(-)
---
base-commit: c280c4f7e52f08255f491783b3143a3be1fc08b0
change-id: 20250725-ti_sci-7bc55cb0cdba
Best regards,
--
Andrew Goodbody <andrew.goodbody at linaro.org>
More information about the U-Boot
mailing list