Skip to content
Commit d0153c7f authored by Dave Martin's avatar Dave Martin Committed by Will Deacon
Browse files

arm64: sysreg: Fix unprotected macro argmuent in write_sysreg



write_sysreg() may misparse the value argument because it is used
without parentheses to protect it.

This patch adds the ( ) in order to avoid any surprises.

Acked-by: default avatarMark Rutland <mark.rutland@arm.com>
Signed-off-by: default avatarDave Martin <Dave.Martin@arm.com>
[will: same change to write_sysreg_s]
Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
parent 6c17c1c3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment