[alsa-devel] [PATCH v2 1/2] ASoC: Remove 'const' from the device_node pointers
Jean-Francois Moine
moinejf at free.fr
Mon Nov 10 20:12:54 CET 2014
On Mon, 10 Nov 2014 19:03:32 +0000
Mark Brown <broonie at kernel.org> 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/
More information about the Alsa-devel
mailing list