diff options
author | Dave Martin <Dave.Martin@arm.com> | 2017-07-25 12:52:41 +0100 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2017-07-26 09:28:18 +0100 |
commit | d0153c7ff9226535a51e6a81f61656c9500957f4 (patch) | |
tree | 005461318580d5c57c435e8347eb5407857bfed2 /drivers/perf | |
parent | 6c17c1c3099d7367e67d51290884846dfeecf7bf (diff) |
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: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Dave Martin <Dave.Martin@arm.com>
[will: same change to write_sysreg_s]
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'drivers/perf')
0 files changed, 0 insertions, 0 deletions