From: "Danilo Krummrich" <dakr@kernel.org>
To: "Andy Shevchenko" <andriy.shevchenko@linux.intel.com>
Cc: <linux-kernel@vger.kernel.org>,
"Greg Kroah-Hartman" <gregkh@linuxfoundation.org>,
"Rafael J. Wysocki" <rafael@kernel.org>
Subject: Re: [PATCH v1 1/1] driver core: make bus_find_device_by_acpi_dev() stub prototype aligned
Date: Sat, 10 Jan 2026 01:08:18 +0100 [thread overview]
Message-ID: <DFKH06MFJ2HV.IEG8X9FW8PET@kernel.org> (raw)
In-Reply-To: <20251229144325.1252197-1-andriy.shevchenko@linux.intel.com>
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@linux.intel.com>
Applied to driver-core-testing, thanks!
prev parent reply other threads:[~2026-01-10 0:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-29 14:43 [PATCH v1 1/1] driver core: make bus_find_device_by_acpi_dev() stub prototype aligned Andy Shevchenko
2026-01-10 0:08 ` Danilo Krummrich [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=DFKH06MFJ2HV.IEG8X9FW8PET@kernel.org \
--to=dakr@kernel.org \
--cc=andriy.shevchenko@linux.intel.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rafael@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox