[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <2352491.ElGaqSPkdT@radijator>
Date: Fri, 29 Nov 2024 18:05:37 +0100
From: Duje Mihanović <duje.mihanovic@...le.hr>
To: Dan Carpenter <dan.carpenter@...aro.org>
Cc: Michael Turquette <mturquette@...libre.com>,
Stephen Boyd <sboyd@...nel.org>, linux-clk@...r.kernel.org,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject:
Re: [PATCH next] clk: mmp: pxa1908-apbc: Fix NULL vs IS_ERR() check in probe
On Wednesday 20 November 2024 18:18:38 Central European Standard Time Dan
Carpenter wrote:
> The devm_kzalloc() function returns NULL on error, not error pointers.
> Fix the check.
>
> Fixes: 51ce55919273 ("clk: mmp: Add Marvell PXA1908 APBC driver")
> Signed-off-by: Dan Carpenter <dan.carpenter@...aro.org>
> ---
Acked-by: Duje Mihanović <duje.mihanovic@...le.hr>
Regards,
--
Duje
Powered by blists - more mailing lists