@@ -99,6 +99,19 @@
"rel_path": "arch/x86/cpu/mwait-idle.c",
"comment": "Imported from Linux, ignore for now"
},
+ {
+ "rel_path": "arch/x86/hvm/mtrr.c",
+ "comment": "Contains structure formatted in a particular way",
+ "checkers": "codestyle",
+ "codestyle": {
+ "protect": [
+ {
+ "syntax_opening": "static const uint8_t mm_type_tbl",
+ "syntax_closing": "};"
+ }
+ ]
+ }
+ },
{
"rel_path": "arch/x86/include/asm/alternative-asm.h",
"comment": "Includes mostly assembly macro and it's meant to be included only in assembly code",
The array mm_type_tbl initialization is formatted in a way that the formatting tool can't keep, so disable the formatting on that array initialization. Signed-off-by: Luca Fancellu <luca.fancellu@arm.com> --- docs/misra/exclude-list.json | 13 +++++++++++++ 1 file changed, 13 insertions(+)