[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <173142780465.896456.12212628053726419059.b4-ty@arm.com>
Date: Tue, 12 Nov 2024 16:10:29 +0000
From: Catalin Marinas <catalin.marinas@....com>
To: Lorenzo Pieralisi <lpieralisi@...nel.org>,
Hanjun Guo <guohanjun@...wei.com>,
Sudeep Holla <sudeep.holla@....com>,
"Rafael J. Wysocki" <rafael@...nel.org>,
Len Brown <lenb@...nel.org>,
Min-Hua Chen <minhuadotchen@...il.com>
Cc: Will Deacon <will@...nel.org>,
linux-acpi@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] acpi/arm64: remove unnecessary cast
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
Powered by blists - more mailing lists