From: "Jernej Škrabec" <jernej.skrabec@gmail.com>
To: wens@csie.org, samuel@sholland.org, gregkh@linuxfoundation.org,
christophe.jaillet@wanadoo.fr, tglx@linutronix.de, arnd@arndb.de,
mripard@kernel.org, broonie@kernel.org, olof@lixom.net,
linux-arm-kernel@lists.infradead.org,
linux-sunxi@lists.linux.dev, Yuan Can <yuancan@huawei.com>
Cc: yuancan@huawei.com
Subject: Re: [PATCH] bus: sunxi-rsb: Fix error handling in sunxi_rsb_init()
Date: Mon, 05 Dec 2022 22:13:10 +0100 [thread overview]
Message-ID: <2730519.BEx9A2HvPv@kista> (raw)
In-Reply-To: <20221123094200.12036-1-yuancan@huawei.com>
Dne sreda, 23. november 2022 ob 10:42:00 CET je Yuan Can napisal(a):
> The sunxi_rsb_init() returns the platform_driver_register() directly
> without checking its return value, if platform_driver_register() failed,
> the sunxi_rsb_bus is not unregistered.
> Fix by unregister sunxi_rsb_bus when platform_driver_register() failed.
>
> Fixes: d787dcdb9c8f ("bus: sunxi-rsb: Add driver for Allwinner Reduced
> Serial Bus") Signed-off-by: Yuan Can <yuancan@huawei.com>
Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Best regards,
Jernej
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2022-12-05 21:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-23 9:42 [PATCH] bus: sunxi-rsb: Fix error handling in sunxi_rsb_init() Yuan Can
2022-12-05 21:13 ` Jernej Škrabec [this message]
2023-01-08 20:35 ` Jernej Škrabec
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=2730519.BEx9A2HvPv@kista \
--to=jernej.skrabec@gmail.com \
--cc=arnd@arndb.de \
--cc=broonie@kernel.org \
--cc=christophe.jaillet@wanadoo.fr \
--cc=gregkh@linuxfoundation.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-sunxi@lists.linux.dev \
--cc=mripard@kernel.org \
--cc=olof@lixom.net \
--cc=samuel@sholland.org \
--cc=tglx@linutronix.de \
--cc=wens@csie.org \
--cc=yuancan@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