[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v2] xen/drivers/char: Don't require vpl011 for all non-x86 archs



>>> On 20.05.19 at 19:20, <julien.grall@xxxxxxx> wrote:
>> --- a/xen/drivers/char/console.c
>> +++ b/xen/drivers/char/console.c
>> @@ -36,7 +36,7 @@
>>   #ifdef CONFIG_X86
>>   #include <xen/consoled.h>
>>   #include <asm/guest.h>
>> -#else
>> +#elif CONFIG_SBSA_VUART_CONSOLE
>>   #include <asm/vpl011.h>
>>   #endif
> 
> This is a bit odds to require !CONFIG_X86 && CONFIG_SBSA_VUART_CONSOLE but 
> the 
> 
> code is only protected with the second part.
> 
> How about:
> 
> #endif
> #ifdef CONFIG_SBSA_VUART_CONSOLE
> ...
> #endif
> 
> ?

+1 - doing so will also save me from complaining about the missing
defined().

Jan



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.