[PATCH] remoteproc: imx_rproc: Use strstarts for "rsc-table" check

Daniel Baluta daniel.baluta at gmail.com
Tue Dec 9 04:36:15 PST 2025


On Tue, Dec 9, 2025 at 1:33 AM Shenwei Wang <shenwei.wang at nxp.com> wrote:
>
> The resource name may include an address suffix, for example:
> rsc-table at 1fff8000.
>
> To handle such cases, use strstarts() instead of strcmp() when checking
> for "rsc-table".
>
> Signed-off-by: Shenwei Wang <shenwei.wang at nxp.com>

Good catch.

Reviewed-by: Daniel Baluta <daniel.baluta at nxp.com>



More information about the linux-arm-kernel mailing list