Re: [PATCH] rtc: gamecube: check return value of devm_rtc_register_device()
From: Alexandre Belloni
Date: Thu Aug 20 2026 - 17:29:09 EST
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