ti_sci: Pointer is never assigned to valid value
authorAndrew Goodbody <andrew.goodbody@linaro.org>
Wed, 8 Oct 2025 09:23:37 +0000 (10:23 +0100)
committerTom Rini <trini@konsulko.com>
Thu, 16 Oct 2025 21:02:14 +0000 (15:02 -0600)
commit5b9125746dfde0a29911ccd542801da6b8f94239
treee3701c4d1166e9db270c526a00633860d060b555
parent4602fa92202388665ddfbb622f001d62b1473a08
ti_sci: Pointer is never assigned to valid value

The pointer resp is declared but never assigned a value but is then
dereferenced. Fix this by assigning the pointer to the message buffer.

This issue was found by Smatch.

Reviewed-by: Udit Kumar <u-kumar1@ti.com>
Signed-off-by: Andrew Goodbody <andrew.goodbody@linaro.org>
Reviewed-by: Nishanth Menon <nm@ti.com>
Tested-by: Anshul Dalal <anshuld@ti.com>
drivers/firmware/ti_sci.c