]> xenbits.xensource.com Git - xen.git/commit
ACPI/APEI: fix violations of MISRA C:2012 Rule 7.2
authorGianluca Luparini <gianluca.luparini@bugseng.com>
Wed, 12 Jul 2023 11:31:55 +0000 (13:31 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 12 Jul 2023 11:31:55 +0000 (13:31 +0200)
commita665d69e8800cc7c702ec12c57b9af479f56caad
treed71c5f2c1f9ce83561a2b590d4cddef6a78ffa1a
parentd717825a2036896ff37d66ed1846a7a2198ac532
ACPI/APEI: fix violations of MISRA C:2012 Rule 7.2

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 'cper.h'

Signed-off-by: Gianluca Luparini <gianluca.luparini@bugseng.com>
Signed-off-by: Simone Ballarin <simone.ballarin@bugseng.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/include/xen/cper.h