On 07.12.2023 10:48, 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]>

Just to mention it here again: I'm not happy about this change, so as
it stands I'm not meaning to ack it. But I'm also not meaning to veto
it in case Andrew is okay(ish) with the proposal.

Jan

Reply via email to