From: Lee Jones <lee@kernel.org>
To: Jiasheng Jiang <jiasheng@iscas.ac.cn>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] mfd: sm501: Add check for platform_driver_register
Date: Wed, 28 Sep 2022 10:43:40 +0100 [thread overview]
Message-ID: <YzQXTHNX3GjztiDx@google.com> (raw)
In-Reply-To: <20220913091112.1739138-1-jiasheng@iscas.ac.cn>
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@iscas.ac.cn>
> ---
> drivers/mfd/sm501.c | 7 ++++++-
> 1 file changed, 6 insertions(+), 1 deletion(-)
Applied, thanks.
--
Lee Jones [李琼斯]
prev parent reply other threads:[~2022-09-28 9:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-13 9:11 [PATCH] mfd: sm501: Add check for platform_driver_register Jiasheng Jiang
2022-09-28 9:43 ` Lee Jones [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YzQXTHNX3GjztiDx@google.com \
--to=lee@kernel.org \
--cc=jiasheng@iscas.ac.cn \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox