From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: Erick Archer <erick.archer@outlook.com>
Cc: "Russell King" <linux@armlinux.org.uk>,
"James E.J. Bottomley" <James.Bottomley@hansenpartnership.com>,
"Helge Deller" <deller@gmx.de>,
"K. Y. Srinivasan" <kys@microsoft.com>,
"Haiyang Zhang" <haiyangz@microsoft.com>,
"Wei Liu" <wei.liu@kernel.org>,
"Dexuan Cui" <decui@microsoft.com>,
"Chen-Yu Tsai" <wens@csie.org>,
"Jernej Skrabec" <jernej.skrabec@gmail.com>,
"Samuel Holland" <samuel@sholland.org>,
"Stephen Chandler Paul" <thatslyude@gmail.com>,
"Michal Simek" <michal.simek@amd.com>,
"Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>,
"Russell King (Oracle)" <rmk+kernel@armlinux.org.uk>,
"Suzuki K Poulose" <suzuki.poulose@arm.com>,
"Krzysztof Kozlowski" <krzk@kernel.org>,
"Rob Herring" <robh@kernel.org>,
"Ruan Jinjie" <ruanjinjie@huawei.com>,
"Ricardo B. Marliere" <ricardo@marliere.net>,
"Greg Kroah-Hartman" <gregkh@linuxfoundation.org>,
"Jiri Slaby (SUSE)" <jirislaby@kernel.org>,
"Mark Brown" <broonie@kernel.org>,
"Yang Li" <yang.lee@linux.alibaba.com>,
"Kees Cook" <keescook@chromium.org>,
"Gustavo A. R. Silva" <gustavoars@kernel.org>,
"Justin Stitt" <justinstitt@google.com>,
linux-input@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-parisc@vger.kernel.org, linux-hyperv@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-sunxi@lists.linux.dev, linux-hardening@vger.kernel.org
Subject: Re: [PATCH] Input: serio - use sizeof(*pointer) instead of sizeof(type)
Date: Fri, 7 Jun 2024 12:17:37 -0700 [thread overview]
Message-ID: <ZmNc0cwc6yzl3_7H@google.com> (raw)
In-Reply-To: <AS8PR02MB7237D3D898CCC9C50C18DE078BFB2@AS8PR02MB7237.eurprd02.prod.outlook.com>
On Fri, Jun 07, 2024 at 07:04:23PM +0200, Erick Archer wrote:
> It is preferred to use sizeof(*pointer) instead of sizeof(type)
> due to the type of the variable can change and one needs not
> change the former (unlike the latter). This patch has no effect
> on runtime behavior.
>
> Signed-off-by: Erick Archer <erick.archer@outlook.com>
Applied, thank you.
--
Dmitry
prev parent reply other threads:[~2024-06-07 19:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-07 17:04 [PATCH] Input: serio - use sizeof(*pointer) instead of sizeof(type) Erick Archer
2024-06-07 19:17 ` Dmitry Torokhov [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=ZmNc0cwc6yzl3_7H@google.com \
--to=dmitry.torokhov@gmail.com \
--cc=James.Bottomley@hansenpartnership.com \
--cc=broonie@kernel.org \
--cc=decui@microsoft.com \
--cc=deller@gmx.de \
--cc=erick.archer@outlook.com \
--cc=gregkh@linuxfoundation.org \
--cc=gustavoars@kernel.org \
--cc=haiyangz@microsoft.com \
--cc=jernej.skrabec@gmail.com \
--cc=jirislaby@kernel.org \
--cc=justinstitt@google.com \
--cc=keescook@chromium.org \
--cc=krzk@kernel.org \
--cc=kys@microsoft.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-hardening@vger.kernel.org \
--cc=linux-hyperv@vger.kernel.org \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-parisc@vger.kernel.org \
--cc=linux-sunxi@lists.linux.dev \
--cc=linux@armlinux.org.uk \
--cc=michal.simek@amd.com \
--cc=ricardo@marliere.net \
--cc=rmk+kernel@armlinux.org.uk \
--cc=robh@kernel.org \
--cc=ruanjinjie@huawei.com \
--cc=samuel@sholland.org \
--cc=suzuki.poulose@arm.com \
--cc=thatslyude@gmail.com \
--cc=u.kleine-koenig@pengutronix.de \
--cc=wei.liu@kernel.org \
--cc=wens@csie.org \
--cc=yang.lee@linux.alibaba.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;
as well as URLs for NNTP newsgroup(s).