Re: [RFC PATCH 09/18] xen: cppcheck: misra rule 20.7 deviation on kconfig.h

2022-12-21 Thread Luca Fancellu
> On 20 Dec 2022, at 09:48, Jan Beulich wrote: > > On 20.12.2022 09:50, Luca Fancellu wrote: >> Cppcheck has found a violation of rule 20.7 for the macro >> __config_enabled but the preprocessor branch where this macro is >> defined should not be analysed by cppcheck when CPPCHECK macro is >>

Re: [RFC PATCH 09/18] xen: cppcheck: misra rule 20.7 deviation on kconfig.h

2022-12-20 Thread Jan Beulich
On 20.12.2022 09:50, Luca Fancellu wrote: > Cppcheck has found a violation of rule 20.7 for the macro > __config_enabled but the preprocessor branch where this macro is > defined should not be analysed by cppcheck when CPPCHECK macro is > defined, hence this is a false positive of the tool and we c

[RFC PATCH 09/18] xen: cppcheck: misra rule 20.7 deviation on kconfig.h

2022-12-20 Thread Luca Fancellu
Cppcheck has found a violation of rule 20.7 for the macro __config_enabled but the preprocessor branch where this macro is defined should not be analysed by cppcheck when CPPCHECK macro is defined, hence this is a false positive of the tool and we can safely suppress the finding. Eclair and coveri