Messages in this thread | | | Date | Tue, 29 Oct 2013 15:48:04 +0100 | Subject | Re: [PATCH RFC] mfd: Stop setting refcounting pointers in original mfd_cell arrays | From | Geert Uytterhoeven <> |
| |
On Tue, Oct 29, 2013 at 10:03 AM, Geert Uytterhoeven <geert@linux-m68k.org> wrote: > Note that there's another issue in mfd_add_devices(): if the first call to > mfd_add_device() fails, the array of atomic_t objects will never be freed, > as no child devices have been registered to the parent yet, and thus > mfd_remove_devices() won't find anything to remove nor free.
This was actually not that difficult to fix, so I've just sent out a patch.
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
| |