Re: [PATCH] nubus: switch to dynamic root device
Geert Uytterhoeven <[email protected]>
| Newsgroups | org.kernel.vger.linux-m68k,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <CAMuHMdWbe-8MiTSe1t3tRmgAcOPC94yDM1xyogtKogswba=JCQ@mail.gmail.com> |
On Fri, 24 Apr 2026 at 12:40, Johan Hovold <[email protected]> wrote: > Driver core expects devices to be dynamically allocated and will, for > example, complain loudly if a device that lacks a release function is > ever freed. > > Use root_device_register() to allocate and register the root device > instead of open coding using a static device. > > Signed-off-by: Johan Hovold <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> i.e. will queue in the m68k tree for v7.2. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected] In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds