https://github.com/torvalds/linux
Revision d0153c7ff9226535a51e6a81f61656c9500957f4 authored by Dave Martin on 25 July 2017, 11:52:41 UTC, committed by Will Deacon on 26 July 2017, 08:28:18 UTC
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>
1 parent 6c17c1c
History
Tip revision: d0153c7ff9226535a51e6a81f61656c9500957f4 authored by Dave Martin on 25 July 2017, 11:52:41 UTC
arm64: sysreg: Fix unprotected macro argmuent in write_sysreg
Tip revision: d0153c7
File Mode Size
Documentation
arch
block
certs
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.cocciconfig -rw-r--r-- 59 bytes
.get_maintainer.ignore -rw-r--r-- 31 bytes
.gitattributes -rw-r--r-- 30 bytes
.gitignore -rw-r--r-- 1.3 KB
.mailmap -rw-r--r-- 8.1 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 96.2 KB
Kbuild -rw-r--r-- 2.2 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 410.4 KB
Makefile -rw-r--r-- 58.8 KB
README -rw-r--r-- 722 bytes

README

back to top