Re: [PATCH v2 1/2] ASoC: Remove 'const' from the device_node pointers
From: Jean-Francois Moine
Date: Mon Nov 10 2014 - 14:10:13 EST
On Mon, 10 Nov 2014 19:03:32 +0000
Mark Brown <broonie@xxxxxxxxxx> wrote:
> On Sun, Nov 09, 2014 at 08:33:45PM +0100, Jean-Francois Moine wrote:
> > From Russell King:
> > of_node_put() modifies the struct device_node contents. Therefore,
> > of_node_put() definitely not treating the data pointed to as read-only,
> > and therefore it is completely inappropriate for it to be marked "const".
>
> Did Russell write this patch (in which case it's missing a signoff and
> his e-mail address above) or are you trying to say "Russell King
> said..."?
Sorry, that was "Russell said ...".
Do you want I resubmit the patch?
--
Ken ar c'hentaĆ | ** Breizh ha Linux atav! **
Jef | http://moinejf.free.fr/
--
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/