[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <3d19b567-c6fc-4fa6-a224-d8b7e3995607@oss.qualcomm.com>
Date: Mon, 24 Nov 2025 14:07:30 +0100
From: Konrad Dybcio <konrad.dybcio@....qualcomm.com>
To: Christian Marangi <ansuelsmth@...il.com>,
Bjorn Andersson <andersson@...nel.org>,
Konrad Dybcio <konradybcio@...nel.org>, linux-arm-msm@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: Dan Carpenter <dan.carpenter@...aro.org>
Subject: Re: [PATCH v2] soc: qcom: smem: fix qcom_smem_is_available and check
if __smem is valid
On 11/22/25 7:49 PM, Christian Marangi wrote:
> Commit 7a94d5f31b54 ("soc: qcom: smem: better track SMEM uninitialized
> state") changed the usage of __smem and init now as an error pointer
> instead of NULL.
>
> qcom_smem_is_available() wasn't updated to reflect this change and also
> .qcom_smem_remove doesn't reset it on module exit.
>
> Update both entry to reflect new handling of __smem.
>
> Fixes: 7a94d5f31b54 ("soc: qcom: smem: better track SMEM uninitialized state")
> Reported-by: Dan Carpenter <dan.carpenter@...aro.org>
> Closes: https://lore.kernel.org/all/aSAnR3ECa04CoPqp@stanley.mountain/
> Signed-off-by: Christian Marangi <ansuelsmth@...il.com>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@....qualcomm.com>
Konrad
Powered by blists - more mailing lists