[PATCH] acpi/arm64: remove unnecessary cast
Catalin Marinas
catalin.marinas at arm.com
Tue Nov 12 08:10:29 PST 2024
On Wed, 18 Sep 2024 07:38:24 +0800, Min-Hua Chen wrote:
> DEFINE_RES_IRQ returns struct resource type, so it is
> unnecessary to cast it to struct resource.
>
> Remove the unnecessary cast to fix the following sparse warnings:
>
> drivers/acpi/arm64/gtdt.c:355:19: sparse: warning: cast to non-scalar
> drivers/acpi/arm64/gtdt.c:355:19: sparse: warning: cast from non-scalar
>
> [...]
Applied to arm64 (for-next/misc), thanks!
[1/1] acpi/arm64: remove unnecessary cast
https://git.kernel.org/arm64/c/f95382d73ec8
--
Catalin
More information about the linux-arm-kernel
mailing list