Re: [PATCH] arm64: cputype: Avoid overflow using MIDR_IMPLEMENTOR_MASK
From: Catalin Marinas
Date: Wed May 04 2022 - 15:57:58 EST
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