[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <166787084685.599230.7554750931145257916.b4-ty@kernel.org>
Date: Mon, 7 Nov 2022 19:27:20 -0600
From: Bjorn Andersson <andersson@...nel.org>
To: jiasheng@...as.ac.cn
Cc: quic_jjohnson@...cinc.com, konrad.dybcio@...ainline.org,
agross@...nel.org, linux-kernel@...r.kernel.org,
linux-arm-msm@...r.kernel.org
Subject: Re: [PATCH v6] soc: qcom: apr: Add check for idr_alloc and of_property_read_string_index
On Mon, 7 Nov 2022 09:44:03 +0800, Jiasheng Jiang wrote:
> As idr_alloc() and of_property_read_string_index() can return negative
> numbers, it should be better to check the return value and deal with
> the exception.
> Therefore, it should be better to use goto statement to stop and return
> error.
>
>
> [...]
Applied, thanks!
[1/1] soc: qcom: apr: Add check for idr_alloc and of_property_read_string_index
commit: 6d7860f5750d73da2fa1a1f6c9405058a593fa32
Best regards,
--
Bjorn Andersson <andersson@...nel.org>
Powered by blists - more mailing lists