[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <162507711455.3331010.7831190546024557147@swboyd.mtv.corp.google.com>
Date: Wed, 30 Jun 2021 11:18:34 -0700
From: Stephen Boyd <sboyd@...nel.org>
To: Wang Hai <wanghai38@...wei.com>, lvb@...hos.com,
mturquette@...libre.com
Cc: linux-clk@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH -next] clk: lmk04832: fix return value check in lmk04832_probe()
Quoting Wang Hai (2021-06-29 19:03:22)
> In case of error, the function devm_kzalloc() and devm_kcalloc() return
> NULL pointer not ERR_PTR(). The IS_ERR() test in the return value check
> should be replaced with NULL test.
>
> Fixes: 3bc61cfd6f4a ("clk: add support for the lmk04832")
> Reported-by: Hulk Robot <hulkci@...wei.com>
> Signed-off-by: Wang Hai <wanghai38@...wei.com>
> ---
Applied to clk-next
Powered by blists - more mailing lists