On 12.07.2023 12:32, Simone Ballarin wrote:
> From: Gianluca Luparini <[email protected]>
> 
> The xen sources contains violations of MISRA C:2012 Rule 7.2 whose
> headline states:
> "A 'u' or 'U' suffix shall be applied to all integer constants
> that are represented in an unsigned type".
> 
> Add the 'U' suffix to integers literals with unsigned type.
> 
> For the sake of uniformity, the following changes are made:
> - add the 'U' suffix to all first macro's arguments in 'boot.c'
> - add the 'U' suffix near '0x3fffffff' in 'runtime.c'
> 
> Signed-off-by: Gianluca Luparini <[email protected]>
> Signed-off-by: Simone Ballarin <[email protected]>
> Reviewed-by: Luca Fancellu <[email protected]>
> Reviewed-by: Stefano Stabellini <[email protected]>

Acked-by: Jan Beulich <[email protected]>


Reply via email to