[PATCH] arm64: cputype: Avoid overflow using MIDR_IMPLEMENTOR_MASK
Catalin Marinas
catalin.marinas at arm.com
Wed May 4 12:57:49 PDT 2022
On Tue, 26 Apr 2022 09:06:03 +0200, Michal Orzel wrote:
> 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.
>
>
Applied to arm64 (for-next/misc), thanks!
[1/1] arm64: cputype: Avoid overflow using MIDR_IMPLEMENTOR_MASK
https://git.kernel.org/arm64/c/48e6f22e25a4
--
Catalin
More information about the linux-arm-kernel
mailing list