On Thu, 2015-01-08 at 13:15 +0000, Julien Grall wrote:
> Hi Ian,
> 
> On 08/01/15 11:53, Ian Campbell wrote:
> > +            ret = dt_property_read_string(chosen, "stdout-path", &stdout);
> > +            if ( ret >= 0 )
> > +            {
> > +                printk("Taking dtuart configuration from 
> > /chosen/stdout-path\n");
> > +                if ( strlcpy(opt_dtuart, stdout, sizeof(opt_dtuart))
> > +                     >= sizeof(opt_dtuart) )
> > +                    printk("WARNING: /chosen/stdout-path too long, 
> > truncated\n");
> 
> I would add XENLOG_WARNING here and ...
> 
> > +            }
> > +            else if ( ret != -EINVAL /* Not present */ )
> > +                printk("Failed to read /chosen/stdout-path (%d)\n", ret);
> 
> XENLOG_ERROR here.

In practice these only go via the earlyprintk mechanism, since the
console can't be setup yet. I'm not sure it's worthwhile tagging such
messages.

> 
> Otherwise:
> 
> Reviewed-by: Julien Grall <julien.gr...@linaro.org>
> 
> Regards,
> 



_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

Reply via email to