Re: [PATCH v6] misc: fastrpc: check qcom_scm_assign_mem() return in rpmsg_probe
From: Greg KH
Date: Wed Jan 28 2026 - 00:48:50 EST
On Wed, Jan 28, 2026 at 11:34:54AM +0800, Xingjing Deng wrote:
> In the SDSP probe path, qcom_scm_assign_mem() is used to assign the
> reserved memory to the configured VMIDs, but its return value was not checked.
>
> Fail the probe if the SCM call fails to avoid continuing with an
> unexpected/incorrect memory permission configuration.
>
> This issue was detected by a private static analysis tool.
As per our documentation, you need to say a bit more than this about
your tool. Please read Documentation/process/researcher-guidelines.rst
for the details.
thanks,
greg k-h