remoteproc: ti_k3_arm64: Cannot set or compare u8 to 16bits
authorAndrew Goodbody <andrew.goodbody@linaro.org>
Fri, 8 Aug 2025 12:00:22 +0000 (13:00 +0100)
committerTom Rini <trini@konsulko.com>
Tue, 19 Aug 2025 17:25:56 +0000 (11:25 -0600)
commitf780ad4be9fe84fbdd874455c7518e0576e4d845
tree784264f67fac77ff252b209352cd5f8067d9fc26
parent66ff673a8e9f56d2c08a32d12867094c77ea5fd3
remoteproc: ti_k3_arm64: Cannot set or compare u8 to 16bits

In the struct ti_sci_proc the fields proc_id and host_id are declared as
u8 so cannot be set to nor compared with a macro defined with a value
using 16 bits. Change the macro to only use 8 bits to make the code work
as expected.

This issue was found by Smatch.

Signed-off-by: Andrew Goodbody <andrew.goodbody@linaro.org>
drivers/remoteproc/ti_k3_arm64_rproc.c