From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Qinglang Miao <miaoqinglang@huawei.com>
Cc: Jiri Slaby <jirislaby@kernel.org>,
linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] serial: txx9: add missing platform_driver_unregister() on error in serial_txx9_init
Date: Tue, 3 Nov 2020 08:45:33 +0100 [thread overview]
Message-ID: <20201103074533.GA2504333@kroah.com> (raw)
In-Reply-To: <20201103073341.144512-1-miaoqinglang@huawei.com>
On Tue, Nov 03, 2020 at 03:33:41PM +0800, Qinglang Miao wrote:
> Add the missing platform_driver_unregister() before return
> from serial_txx9_init in the error handling case when failed
> to register serial_txx9_pci_driver with macro ENABLE_SERIAL_TXX9_PCI
> defined.
>
> Fixes: ab4382d27412 ("tty: move drivers/serial/ to drivers/tty/serial/")
> Signed-off-by: Qinglang Miao <miaoqinglang@huawei.com>
> ---
> drivers/tty/serial/serial_txx9.c | 3 +++
> 1 file changed, 3 insertions(+)
What changed from v1? Always put that below the --- line.
Please fix up and send v3.
thanks,
greg k-h
next prev parent reply other threads:[~2020-11-03 7:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-03 7:33 [PATCH v2] serial: txx9: add missing platform_driver_unregister() on error in serial_txx9_init Qinglang Miao
2020-11-03 7:45 ` Greg Kroah-Hartman [this message]
2020-11-06 3:19 ` Qinglang Miao
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=20201103074533.GA2504333@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=jirislaby@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-serial@vger.kernel.org \
--cc=miaoqinglang@huawei.com \
/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