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

2019-05-08 Thread Doug Anderson
Hi, On Tue, May 7, 2019 at 3:17 PM Frank Rowand wrote: > > On 5/7/19 10:59 AM, Doug Anderson wrote: > > Hi, > > > > > > On Tue, May 7, 2019 at 10:52 AM Frank Rowand wrote: > >> > >> On 5/6/19 9:48 PM, Douglas Anderson wrote: > >>> We'll add a dummy to just return false. > >> > >> A more

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

2019-05-07 Thread Frank Rowand
On 5/7/19 10:59 AM, Doug Anderson wrote: > Hi, > > > On Tue, May 7, 2019 at 10:52 AM Frank Rowand 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

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

2019-05-07 Thread Kees Cook
On Tue, May 7, 2019 at 10:59 AM Doug Anderson wrote: > On Tue, May 7, 2019 at 10:52 AM Frank Rowand 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

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

2019-05-07 Thread Doug Anderson
Hi, On Tue, May 7, 2019 at 10:52 AM Frank Rowand 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???

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

2019-05-07 Thread Frank Rowand
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??? -Frank > > Signed-off-by: Douglas Anderson > --- > >

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

2019-05-07 Thread Guenter Roeck
On Mon, May 6, 2019 at 9:48 PM Douglas Anderson wrote: > > We'll add a dummy to just return false. > > Signed-off-by: Douglas Anderson Reviewed-by: Guenter Roeck > --- > > include/linux/of.h | 5 + > 1 file changed, 5 insertions(+) > > diff --git a/include/linux/of.h b/include/linux/of.h

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

2019-05-06 Thread Douglas Anderson
We'll add a dummy to just return false. Signed-off-by: Douglas Anderson --- include/linux/of.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/linux/of.h b/include/linux/of.h index 0cf857012f11..62ae5c1cafa5 100644 --- a/include/linux/of.h +++ b/include/linux/of.h @@ -653,6