On 22.10.20 19:58, Andrea Bastoni wrote:
> Partial fix, Wconversion will complain anyway due to the return int.
> 
> Signed-off-by: Andrea Bastoni <[email protected]>
> ---
>  hypervisor/arch/arm64/smmu.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/hypervisor/arch/arm64/smmu.c b/hypervisor/arch/arm64/smmu.c
> index 41c0ffb4..26d5024a 100644
> --- a/hypervisor/arch/arm64/smmu.c
> +++ b/hypervisor/arch/arm64/smmu.c
> @@ -370,7 +370,8 @@ static int arm_smmu_device_cfg_probe(struct 
> arm_smmu_device *smmu)
>  static int arm_smmu_find_sme(u16 id, struct arm_smmu_device *smmu)
>  {
>       struct arm_smmu_smr *smrs = smmu->smrs;
> -     int i, free_idx = -EINVAL;
> +     int free_idx = -EINVAL;
> +     unsigned int i;
>  
>       /* Stream indexing is blissfully easy */
>       if (!smrs)
> 

'n'

Jan

-- 
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux

-- 
You received this message because you are subscribed to the Google Groups 
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jailhouse-dev/0d291b8d-dd45-1c9c-32b0-c9a708f2afff%40siemens.com.

Reply via email to