From: Guenter Roeck <linux@roeck-us.net>
To: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Cc: Tim Harvey <tharvey@gateworks.com>,
Jean Delvare <jdelvare@suse.com>,
linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org,
linux-hwmon@vger.kernel.org
Subject: Re: [PATCH] hwmon: (gsc-hwmon) Switch to flexible array to simplify code
Date: Sun, 20 Nov 2022 06:17:24 -0800 [thread overview]
Message-ID: <20221120141724.GA1790491@roeck-us.net> (raw)
In-Reply-To: <61a23e1d642397cfcecc4ac3bb0ab485d257987d.1668936855.git.christophe.jaillet@wanadoo.fr>
On Sun, Nov 20, 2022 at 10:34:41AM +0100, Christophe JAILLET wrote:
> Using flexible array is more straight forward. It
> - saves 1 pointer in the 'gsc_hwmon_platform_data' structure
> - saves an indirection when using this array
> - saves some LoC and avoids some always spurious pointer arithmetic
>
> Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Applied to hwmon-next.
Thanks,
Guenter
prev parent reply other threads:[~2022-11-20 14:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-20 9:34 Christophe JAILLET
2022-11-20 14:17 ` Guenter Roeck [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=20221120141724.GA1790491@roeck-us.net \
--to=linux@roeck-us.net \
--cc=christophe.jaillet@wanadoo.fr \
--cc=jdelvare@suse.com \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-hwmon@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=tharvey@gateworks.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 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®