From: Guenter Roeck <linux@roeck-us.net>
To: Pawel Zalewski <pzalewski@thegoodpenguin.co.uk>
Cc: Luca Tettamanti <kronos.it@gmail.com>,
Cosmo Chou <cosmo.chou@quantatw.com>,
linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] hwmon: use named initializers for acpi_device_id
Date: Wed, 16 Sep 2026 08:07:41 -0700 [thread overview]
Message-ID: <9ea1fcf0-ad68-441c-9394-5722b00a4d7e@roeck-us.net> (raw)
In-Reply-To: <CAA6zWZ+8KUSzah7y4TXrkvOnChDyEur=HCXgukcFke2dEjgQ2g@mail.gmail.com>
On 9/16/26 07:33, Pawel Zalewski wrote:
>> It also replaces pointers to empty strings with NULL pointers,
>> which is a functional change and still neither documented nor explained.
>
> Please note that the 'id' here is an __u8[] array, not a const char *
> and that the generated .o objects are equal pre/post the patch as both
> methods just initialize the array to 0s. So I think the commit message
> explains what the patch is doing, perhaps it might be worth mentioning
> that the 'id' field is a byte array in the message.
Thanks for the information.
I accepted the patch as-is.
Guenter
next prev parent reply other threads:[~2026-09-16 15:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-15 13:48 Pawel Zalewski
2026-09-15 14:58 ` Guenter Roeck
2026-09-16 14:33 ` Pawel Zalewski
2026-09-16 15:07 ` Guenter Roeck [this message]
2026-09-16 15:00 ` Guenter Roeck
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=9ea1fcf0-ad68-441c-9394-5722b00a4d7e@roeck-us.net \
--to=linux@roeck-us.net \
--cc=cosmo.chou@quantatw.com \
--cc=kronos.it@gmail.com \
--cc=linux-hwmon@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pzalewski@thegoodpenguin.co.uk \
/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
all inboxes | Powered by JetHome®