Skip to content
Snippets Groups Projects
Commit e90089db authored by Nicola Vetrini's avatar Nicola Vetrini Committed by Jan Beulich
Browse files

arm/smmu: address some violations of MISRA C Rule 20.7


MISRA C Rule 20.7 states: "Expressions resulting from the expansion
of macro parameters shall be enclosed in parentheses". Therefore, some
macro definitions should gain additional parentheses to ensure that all
current and future users will be safe with respect to expansions that
can possibly alter the semantics of the passed-in macro parameter.

No functional change.

Signed-off-by: default avatarNicola Vetrini <nicola.vetrini@bugseng.com>
Reviewed-by: default avatarStefano Stabellini <sstabellini@kernel.org>
parent acb13d1b
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment