Messages in this thread | | | Date | Thu, 28 Sep 2023 15:59:33 +0200 | Subject | Re: [PATCH v1] thermal/drivers/mediatek/lvts_thermal: fix error check in lvts_debugfs_init() | From | Daniel Lezcano <> |
| |
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. > > Signed-off-by: Minjie Du <duminjie@vivo.com> > ---
Applied, thanks
-- <http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs
Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook | <http://twitter.com/#!/linaroorg> Twitter | <http://www.linaro.org/linaro-blog/> Blog
| |