|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 03/10 v2] xen/arm: vpl011: Enable pl011 emulation for a guest domain in Xen
Hi Bhupinder, On 02/05/17 16:20, Bhupinder Thakur wrote: Hi Jan, Please don't do that. The arch code decides whether domain_vpl011_init not the invert.
I would much prefer if you do:
if ( enable_vuart && ((rc = domain_vpl011_init(d, config) != 0) )
goto fail;
or
rc = (enable_vuart) ? domain_vpl011_init(d, config) : 0;
if ( rc != 0 )
goto fail;
Cheers,
--
Julien Grall
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |