summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorWill Deacon <will@kernel.org>2020-06-05 13:19:46 +0300
committerWill Deacon <will@kernel.org>2020-06-05 13:19:46 +0300
commitb16d8ecf4fa17e16fff20638364f9bd2205615e7 (patch)
treefae3ab27bddd1aab6d902dfd705caa322db7161f /tools/perf/scripts/python/mem-phys-addr.py
parent8d4beed7bbc71666de2630b79899c8852c3bf5cd (diff)
downloadlinux-b16d8ecf4fa17e16fff20638364f9bd2205615e7.tar.xz
compiler.h: Enforce that READ_ONCE_NOCHECK() access size is sizeof(long)
READ_ONCE_NOCHECK() unconditionally performs a sizeof(long)-sized access, so enforce that the size of the pointed-to object that we are loading from is the same size as 'long'. Reported-by: Marco Elver <elver@google.com> Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions