[PATCH] arm64: delete dead code in this_cpu_set_vectors()
Will Deacon
will at kernel.org
Thu Apr 20 10:04:52 PDT 2023
On Wed, 19 Apr 2023 10:58:43 +0300, Dan Carpenter wrote:
> The "slot" variable is an enum, and in this context it is an unsigned
> int. So the type means it can never be negative and also we never pass
> invalid data to this function. If something did pass invalid data then
> this check would be insufficient protection.
>
>
Applied to arm64 (for-next/misc), thanks!
[1/1] arm64: delete dead code in this_cpu_set_vectors()
https://git.kernel.org/arm64/c/460e70e2dc9a
Cheers,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev
More information about the linux-arm-kernel
mailing list