From: Jonathan Cameron <jonathan.cameron@huawei.com>
To: "Rafael J. Wysocki" <rafael@kernel.org>
Cc: Linux ACPI <linux-acpi@vger.kernel.org>,
Dan Carpenter <dan.carpenter@linaro.org>,
LKML <linux-kernel@vger.kernel.org>,
"Srinivas Pandruvada" <srinivas.pandruvada@linux.intel.com>,
Hans de Goede <hansg@kernel.org>,
Mario Limonciello <mario.limonciello@amd.com>
Subject: Re: [PATCH v1] ACPI: bus: Fix typo under sizeof() in acpi_run_osc()
Date: Fri, 2 Jan 2026 11:37:32 +0000 [thread overview]
Message-ID: <20260102113732.0000192c@huawei.com> (raw)
In-Reply-To: <2817106.mvXUDI8C0e@rafael.j.wysocki>
On Mon, 29 Dec 2025 14:27:46 +0100
"Rafael J. Wysocki" <rafael@kernel.org> wrote:
> From: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
> Subject:
>
> The sizeof(32) in acpi_run_osc() should be sizeof(u32), so fix it.
>
> Fixes: e5322888e6bf ("ACPI: bus: Rework the handling of \_SB._OSC platform features")
> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com>
> ---
>
> Commit e5322888e6bf is a linux-next one.
>
> ---
> drivers/acpi/bus.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> --- a/drivers/acpi/bus.c
> +++ b/drivers/acpi/bus.c
> @@ -294,7 +294,7 @@ acpi_status acpi_run_osc(acpi_handle han
> int ret;
>
> if (!context || !context->cap.pointer ||
> - context->cap.length < 2 * sizeof(32) ||
> + context->cap.length < 2 * sizeof(u32) ||
> guid_parse(context->uuid_str, &guid))
> return AE_BAD_PARAMETER;
>
>
>
>
>
next prev parent reply other threads:[~2026-01-02 11:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-29 13:27 [PATCH v1] ACPI: bus: Fix typo under sizeof() in acpi_run_osc() Rafael J. Wysocki
2026-01-02 11:37 ` Jonathan Cameron [this message]
2026-01-06 22:44 ` Mario Limonciello (AMD) (kernel.org)
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=20260102113732.0000192c@huawei.com \
--to=jonathan.cameron@huawei.com \
--cc=dan.carpenter@linaro.org \
--cc=hansg@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mario.limonciello@amd.com \
--cc=rafael@kernel.org \
--cc=srinivas.pandruvada@linux.intel.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.