[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YzQXTHNX3GjztiDx@google.com>
Date: Wed, 28 Sep 2022 10:43:40 +0100
From: Lee Jones <lee@...nel.org>
To: Jiasheng Jiang <jiasheng@...as.ac.cn>
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mfd: sm501: Add check for platform_driver_register
On Tue, 13 Sep 2022, Jiasheng Jiang wrote:
> As platform_driver_register() can return error numbers,
> it should be better to check platform_driver_register()
> and deal with the exception.
>
> Fixes: b6d6454fdb66 ("[PATCH] mfd: SM501 core driver")
> Signed-off-by: Jiasheng Jiang <jiasheng@...as.ac.cn>
> ---
> drivers/mfd/sm501.c | 7 ++++++-
> 1 file changed, 6 insertions(+), 1 deletion(-)
Applied, thanks.
--
Lee Jones [李琼斯]
Powered by blists - more mailing lists