Re: [PATCH] acpi/arm64: remove unnecessary cast
From: Catalin Marinas
Date: Tue Nov 12 2024 - 11:42:24 EST
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