arm64: signal: Fix some under-bracketed UAPI macros
authorDave Martin <Dave.Martin@arm.com>
Mon, 29 Jul 2024 15:20:05 +0000 (16:20 +0100)
committerWill Deacon <will@kernel.org>
Fri, 16 Aug 2024 10:25:45 +0000 (11:25 +0100)
commitfc2220c9b15828319b09384e68399b4afc6276d9
tree280deccbc7c3978fa49cb33c21bff348dcf7b1a2
parent6ac96d6f9a8ec3227ceb1e935aeda61bdaeb62ac
arm64: signal: Fix some under-bracketed UAPI macros

A few SME-related sigcontext UAPI macros leave an argument
unprotected from misparsing during macro expansion.

Add parentheses around references to macro arguments where
appropriate.

Signed-off-by: Dave Martin <Dave.Martin@arm.com>
Fixes: ee072cf70804 ("arm64/sme: Implement signal handling for ZT")
Fixes: 39782210eb7e ("arm64/sme: Implement ZA signal handling")
Reviewed-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20240729152005.289844-1-Dave.Martin@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/include/uapi/asm/sigcontext.h