Re: [PATCH RFC] mfd: Stop setting refcounting pointers in originalmfd_cell arrays
From: Geert Uytterhoeven
Date: Tue Oct 29 2013 - 10:48:12 EST
On Tue, Oct 29, 2013 at 10:03 AM, Geert Uytterhoeven
> 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.
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx
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
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/