diff options
author | Will Deacon <will@kernel.org> | 2020-06-05 11:19:46 +0100 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2020-06-05 11:19:46 +0100 |
commit | b16d8ecf4fa17e16fff20638364f9bd2205615e7 (patch) | |
tree | fae3ab27bddd1aab6d902dfd705caa322db7161f /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 8d4beed7bbc71666de2630b79899c8852c3bf5cd (diff) |
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/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions