|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH v2 1/2] x86/IOMMU: address violations of MISRA C:2012 Rule 14.4
On 2024-03-12 12:01, Roger Pau Monné wrote: On Wed, Dec 13, 2023 at 05:10:50PM +0100, Simone Ballarin wrote:From: Maria Celeste Cesario <maria.celeste.cesario@xxxxxxxxxxx> The xen sources contain violations of MISRA C:2012 Rule 14.4 whose headline states: "The controlling expression of an if statement and the controllingexpression of an iteration-statement shall have essentially Boolean type".Add comparisons to avoid using enum constants as controlling expressionsto comply with Rule 14.4. Noted, thanks. -- Nicola Vetrini, BSc Software Engineer, BUGSENG srl (https://bugseng.com)
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |