Re: [PATCH] of: Add dummy for of_node_is_root if not CONFIG_OF

From: Kees Cook
Date: Tue May 07 2019 - 17:16:15 EST


On Tue, May 7, 2019 at 10:59 AM Doug Anderson <dianders@xxxxxxxxxxxx> wrote:
> On Tue, May 7, 2019 at 10:52 AM Frank Rowand <frowand.list@xxxxxxxxx> wrote:
> >
> > On 5/6/19 9:48 PM, Douglas Anderson wrote:
> > > We'll add a dummy to just return false.
> >
> > A more complete explanation of why this is needed please.
> >
> > My one guess would be compile testing of arch/sparc/kernel/prom_64.c
> > fails???
>
> Ah, sorry. Needed for:
>
> https://lkml.kernel.org/r/CAD=FV=Vxp-U7mZUNmAAOja5pt-8rZqPryEvwTg_Dv3ChuH_TrA@xxxxxxxxxxxxxx

Should I take both patches via pstore, or should both go via DT tree?

--
Kees Cook