Re: [PATCH] maple: switch to dynamic root device
Artur Rojek <[email protected]>
| Newsgroups | gmane.linux.ports.sh.devel,gmane.linux.kernel |
|---|---|
| Message-ID | <[email protected]> |
On 2026-04-24 21:59, John Paul Adrian Glaubitz wrote: > Hi Artur, > > On Fri, 2026-04-24 at 21:08 +0200, Artur Rojek wrote: >> On 2026-04-24 12:41, Johan Hovold wrote: >> > Driver core expects devices to be dynamically allocated and will, for >> > example, complain loudly when no release function has been provided. >> > >> > Use root_device_register() to allocate and register the root device >> > instead of open coding using a static device. >> > >> > Note that this also fixes a reference leak in case device_register() >> > fails which may be flagged by static checkers. >> > >> > Signed-off-by: Johan Hovold <[email protected]> >> >> Hi Johan, >> >> thanks for the patch. Verified on real hardware. LGTM: >> >> Acked-by: Artur Rojek <[email protected]> > > Maybe add a Tested-by as well. Tested-by: Artur Rojek <[email protected]> > > Adrian