[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <DFKH06MFJ2HV.IEG8X9FW8PET@kernel.org>
Date: Sat, 10 Jan 2026 01:08:18 +0100
From: "Danilo Krummrich" <dakr@...nel.org>
To: "Andy Shevchenko" <andriy.shevchenko@...ux.intel.com>
Cc: <linux-kernel@...r.kernel.org>, "Greg Kroah-Hartman"
<gregkh@...uxfoundation.org>, "Rafael J. Wysocki" <rafael@...nel.org>
Subject: Re: [PATCH v1 1/1] driver core: make bus_find_device_by_acpi_dev()
stub prototype aligned
On Mon Dec 29, 2025 at 3:43 PM CET, Andy Shevchenko wrote:
> Currently the bus_find_device_by_acpi_dev() stub for !CONFIG_ACPI case
> takes a const void * parameter instead of const struct acpi_device *.
> As long as it's a pointer, we may named it as we want to with a help
> of a forward declaration. Hence move the declaration out of ifdeffery
> and use the same prototype in both cases. This adds a bit of an additional
> type checking at a compilation time.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Applied to driver-core-testing, thanks!
Powered by blists - more mailing lists