|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH V1 17/29] xen/arm: Mark each device used by Xen as disabled in DOM0 FDT
On Wed, 2013-08-28 at 19:19 -0600, Bamvor Jian Zhang wrote:
> > - early_printk("Looking for UART console %s\n", devalias);
> > - dev = dt_find_node_by_alias(devalias);
> > + early_printk("Looking for UART console %s\n", devpath);
> > + if ( *devpath == '/' )
> > + dev = dt_find_node_by_path(devpath);
> > + else
> > + dev = dt_find_node_by_alias(devpath);
> if '/' start an alias, it should be
I think / is the start of a path not an alias, so the current code is
correct.
> + if ( *devpath == '/' )
> + dev = dt_find_node_by_alias(devpath);
> + else
> + dev = dt_find_node_by_path(devpath);
>
Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |