diff options
author | Michal Orzel <michal.orzel@arm.com> | 2022-04-26 09:06:03 +0200 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2022-05-04 11:52:15 +0100 |
commit | 48e6f22e25a44e43952db5fbb767dea0c9319cb2 (patch) | |
tree | 1d45f3e2135bb1574c338925e31ee0382e469a92 /tools/perf/scripts/python | |
parent | b6ba1a89f73f11000f6b3062c4dc2503531bd3d2 (diff) |
arm64: cputype: Avoid overflow using MIDR_IMPLEMENTOR_MASK
Value of macro MIDR_IMPLEMENTOR_MASK exceeds the range of integer
and can lead to overflow. Currently there is no issue as it is used
in expressions implicitly casting it to u32. To avoid possible
problems, fix the macro.
Signed-off-by: Michal Orzel <michal.orzel@arm.com>
Link: https://lore.kernel.org/r/20220426070603.56031-1-michal.orzel@arm.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions