[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAMuHMdVcq8pefMwxZFNMmSb2kkfVOLxTX1WM=F0ixJZT98NTkg@mail.gmail.com>
Date: Tue, 29 Oct 2013 15:48:04 +0100
From: Geert Uytterhoeven <geert@...ux-m68k.org>
To: Andres Salomon <dilinger@...ued.net>,
Samuel Ortiz <sameo@...ux.intel.com>,
Lee Jones <lee.jones@...aro.org>
Cc: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Geert Uytterhoeven <geert@...ux-m68k.org>
Subject: Re: [PATCH RFC] mfd: Stop setting refcounting pointers in original
mfd_cell arrays
On Tue, Oct 29, 2013 at 10:03 AM, Geert Uytterhoeven
<geert@...ux-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@...ux-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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists