On Thu, 7 Dec 2023, Simone Ballarin wrote:
> From: Maria Celeste Cesario <[email protected]>
> 
> The xen sources contain violations of MISRA C:2012 Rule 14.4 whose
> headline states:
> "The controlling expression of an if statement and the controlling
> expression of an iteration-statement shall have essentially Boolean type".
> 
> Add comparisons to avoid using enum constants as controlling expressions
> to comply with Rule 14.4.
> No functional change.
> 
> Signed-off-by: Maria Celeste Cesario  <[email protected]>
> Signed-off-by: Simone Ballarin  <[email protected]>

I think it would have been better to put all the iommu_intremap changed
in the same patch (patch #1). But anyway:

Reviewed-by: Stefano Stabellini <[email protected]>


Reply via email to