On Thu, 24 Dec 2020 at 17:39, Andrew Cooper wrote:
>
> On 24/12/2020 17:10, Julien Grall wrote:
> >
> >
> > On 24/12/2020 17:00, Andrew Cooper wrote:
> >> On 24/12/2020 16:49, Julien Grall wrote:
> >>> From: Julien Grall
> >>>
> >>> Clang 11 will throw the following error:
> >>>
> >>> smmu.c:2284
On 24/12/2020 17:10, Julien Grall wrote:
>
>
> On 24/12/2020 17:00, Andrew Cooper wrote:
>> On 24/12/2020 16:49, Julien Grall wrote:
>>> From: Julien Grall
>>>
>>> Clang 11 will throw the following error:
>>>
>>> smmu.c:2284:18: error: cast to smaller integer type 'enum
>>> arm_smmu_arch_version'
On 24/12/2020 17:00, Andrew Cooper wrote:
On 24/12/2020 16:49, Julien Grall wrote:
From: Julien Grall
Clang 11 will throw the following error:
smmu.c:2284:18: error: cast to smaller integer type 'enum
arm_smmu_arch_version' from 'const void *' [-Werror,-Wvoid-pointer-to-enum-cast]
On 24/12/2020 16:49, Julien Grall wrote:
> From: Julien Grall
>
> Clang 11 will throw the following error:
>
> smmu.c:2284:18: error: cast to smaller integer type 'enum
> arm_smmu_arch_version' from 'const void *'
> [-Werror,-Wvoid-pointer-to-enum-cast]
> smmu->version = (enum arm_smmu_a
From: Julien Grall
Clang 11 will throw the following error:
smmu.c:2284:18: error: cast to smaller integer type 'enum
arm_smmu_arch_version' from 'const void *' [-Werror,-Wvoid-pointer-to-enum-cast]
smmu->version = (enum arm_smmu_arch_version)of_id->data;
^~~