[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <93cd247e-3491-d8aa-ed02-6c77247023dd@baylibre.com>
Date: Mon, 25 Sep 2023 15:45:09 +0200
From: Alexandre Mergnat <amergnat@...libre.com>
To: Minjie Du <duminjie@...o.com>,
"Rafael J. Wysocki" <rafael@...nel.org>,
Daniel Lezcano <daniel.lezcano@...aro.org>,
Amit Kucheria <amitk@...nel.org>,
Zhang Rui <rui.zhang@...el.com>,
Philipp Zabel <p.zabel@...gutronix.de>,
Matthias Brugger <matthias.bgg@...il.com>,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@...labora.com>,
NĂcolas F. R. A. Prado
<nfraprado@...labora.com>, Chen-Yu Tsai <wenst@...omium.org>,
Balsam CHIHI <bchihi@...libre.com>,
"open list:THERMAL" <linux-pm@...r.kernel.org>,
open list <linux-kernel@...r.kernel.org>,
"moderated list:ARM/Mediatek SoC support"
<linux-arm-kernel@...ts.infradead.org>,
"moderated list:ARM/Mediatek SoC support"
<linux-mediatek@...ts.infradead.org>
Cc: opensource.kernel@...o.com
Subject: Re: [PATCH v1] thermal/drivers/mediatek/lvts_thermal: fix error check
in lvts_debugfs_init()
Reviewed-by: Alexandre Mergnat <amergnat@...libre.com>
On 21/09/2023 11:10, Minjie Du wrote:
> debugfs_create_dir() function returns an error value embedded in
> the pointer (PTR_ERR). Evaluate the return value using IS_ERR
> rather than checking for NULL.
--
Regards,
Alexandre
Powered by blists - more mailing lists