Messages in this thread | | | From | Geert Uytterhoeven <> | Date | Wed, 6 Jul 2022 11:17:22 +0200 | Subject | Re: [PATCH -next v2] m68k: virt: platform: fix missing platform_device_unregister() on error in virt_platform_init() |
| |
On Tue, Jun 28, 2022 at 10:39 AM Yang Yingliang <yangyingliang@huawei.com> wrote: > Add the missing platform_device_unregister() before return > from virt_platform_init() in the error handling case. > > Fixes: 05d51e42df06 ("m68k: Introduce a virtual m68k machine") > Reported-by: Hulk Robot <hulkci@huawei.com> > Signed-off-by: Yang Yingliang <yangyingliang@huawei.com> > --- > v2: > change for loop to while at lable err_unregister_rtc_virtio.
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org> i.e. will queue in the m68k for-v5.20 branch.
Gr{oetje,eeting}s,
Geert
-- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
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
| |