On Thu, 24 Dec 2020, Julien Grall wrote:
> From: Julien Grall
>
> clang 11 will throw the following error while build Xen:
>
> scif-uart.c:333:33: error: cast to smaller integer type 'enum port_types'
> from 'const void *' [-Werror,-Wvoid-pointer-to-enum-cast]
> uart->params = &port_params[
On 24.12.20 18:50, Julien Grall wrote:
Hi Julien
From: Julien Grall
clang 11 will throw the following error while build Xen:
scif-uart.c:333:33: error: cast to smaller integer type 'enum port_types' from
'const void *' [-Werror,-Wvoid-pointer-to-enum-cast]
uart->params = &port_params
From: Julien Grall
clang 11 will throw the following error while build Xen:
scif-uart.c:333:33: error: cast to smaller integer type 'enum port_types' from
'const void *' [-Werror,-Wvoid-pointer-to-enum-cast]
uart->params = &port_params[(enum port_types)match->data];