Re: [RFC PATCH 18/18] public: misra rule 20.7 deviation on memory.h

2022-12-20 Thread Jan Beulich
On 20.12.2022 09:51, Luca Fancellu wrote: > Cppcheck has found a violation of rule 20.7 for the macro > XENMEM_SHARING_OP_FIELD_MAKE_GREF, the argument "val" is used in an > expression, hence add parenthesis to the argument "val" to fix the > violation. > > Signed-off-by: Luca Fancellu Acked-by:

[RFC PATCH 18/18] public: misra rule 20.7 deviation on memory.h

2022-12-20 Thread Luca Fancellu
Cppcheck has found a violation of rule 20.7 for the macro XENMEM_SHARING_OP_FIELD_MAKE_GREF, the argument "val" is used in an expression, hence add parenthesis to the argument "val" to fix the violation. Signed-off-by: Luca Fancellu --- xen/include/public/memory.h | 2 +- 1 file changed, 1 inser