[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <02b7818fff2dd5f0cf923e500fd5b569.sboyd@kernel.org>
Date: Sun, 07 Apr 2024 20:30:28 -0700
From: Stephen Boyd <sboyd@...nel.org>
To: AngeloGioacchino Del Regno <angelogioacchino.delregno@...labora.com>, Bjorn Andersson <andersson@...nel.org>, David Collins <quic_collinsd@...cinc.com>, Fei Shao <fshao@...omium.org>, Greg Kroah-Hartman <gregkh@...uxfoundation.org>, Markus Elfring <Markus.Elfring@....de>, Peng Wu <wupeng58@...wei.com>, Vinod Koul <vkoul@...nel.org>, kernel-janitors@...r.kernel.org
Cc: LKML <linux-kernel@...r.kernel.org>, Dmitry Baryshkov <dmitry.baryshkov@...aro.org>
Subject: Re: [PATCH] spmi: pmic-arb: Replace three IS_ERR() calls by null pointer checks in spmi_pmic_arb_probe()
Quoting Markus Elfring (2024-02-04 01:24:18)
> From: Markus Elfring <elfring@...rs.sourceforge.net>
> Date: Sun, 4 Feb 2024 09:39:48 +0100
>
> The devm_ioremap() function does not return error pointers.
> It returns NULL on error.
> This issue was detected once more also by using the Coccinelle software.
>
> Update three checks (and corresponding error codes) for failed
> function calls accordingly.
>
> Fixes: ffdfbafdc4f4 ("spmi: Use devm_spmi_controller_alloc()")
> Fixes: 231601cd22bd ("spmi: pmic-arb: Add support for PMIC v7")
> Signed-off-by: Markus Elfring <elfring@...rs.sourceforge.net>
> ---
Applied to spmi-next
Powered by blists - more mailing lists