xen/arm: vreg: Fix MISRA C 2012 Rule 20.7 violation
authorXenia Ragiadakou <burzalodowa@gmail.com>
Tue, 9 Aug 2022 09:30:48 +0000 (12:30 +0300)
committerStefano Stabellini <stefano.stabellini@amd.com>
Wed, 10 Aug 2022 20:35:31 +0000 (13:35 -0700)
commitd7c3c845c44e097d6c980001e108da0bb84ed16f
treed5f11a3fb94fd12c41e1e9a1b59c4a5ae93dc3ff
parentea2353a7fbdabeb5f698ac53579dec1c8ea9f77a
xen/arm: vreg: Fix MISRA C 2012 Rule 20.7 violation

In VREG_REG_HELPERS(), the macro parameter 'offmask' is used as expression and
therefore it is good to be enclosed in parentheses to prevent against
unintended expansions.

Signed-off-by: Xenia Ragiadakou <burzalodowa@gmail.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
xen/arch/arm/include/asm/vreg.h