Re: [PATCH] rtc: gamecube: check return value of devm_rtc_register_device()

Alexandre Belloni <[email protected]>
Newsgroups org.kernel.vger.linux-rtc,org.kernel.vger.linux-kernel
Message-ID <178726066535.423710.16548526114827195430.b4-ty@b4>
On Fri, 31 Jul 2026 16:04:58 +0800, Linkai Gong wrote:
> gamecube_rtc_probe() ignored the return value of
> devm_rtc_register_device() and always returned success. Propagate the
> error so probe fails when RTC registration fails.

Applied, thanks!

[1/1] rtc: gamecube: check return value of devm_rtc_register_device()
      https://git.kernel.org/abelloni/c/ca45cfa74370

Best regards,

-- 
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.