From: Takashi Iwai <tiwai@suse.de>
To: "SF Markus Elfring" <elfring@users.sourceforge.net>
Cc: <alsa-devel@alsa-project.org>, "Arnd Bergmann" <arnd@arndb.de>,
"Arvind Yadav" <arvind.yadav.cs@gmail.com>,
"Bhumika Goyal" <bhumirks@gmail.com>,
"Mark Brown" <broonie@kernel.org>,
"Jaroslav Kysela" <perex@perex.cz>,
<kernel-janitors@vger.kernel.org>,
"LKML" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 2/3] ALSA: hal2: Improve a size determination in hal2_create()
Date: Tue, 28 Nov 2017 07:49:10 +0100 [thread overview]
Message-ID: <s5hlgiqlwyh.wl-tiwai@suse.de> (raw)
In-Reply-To: <a7583868-cf4b-015c-ce6a-810be4780aa8@users.sourceforge.net>
On Sat, 11 Nov 2017 19:13:15 +0100,
SF Markus Elfring wrote:
>
> From: Markus Elfring <elfring@users.sourceforge.net>
> Date: Sat, 11 Nov 2017 18:34:04 +0100
>
> Replace the specification of a data structure by a pointer dereference
> as the parameter for the operator "sizeof" to make the corresponding size
> determination a bit safer according to the Linux coding style convention.
>
> This issue was detected by using the Coccinelle software.
>
> Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Applied, thanks.
Takashi
next prev parent reply other threads:[~2017-11-28 6:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-11 18:10 [PATCH 0/3] ALSA: hal2: Fine-tuning for four function implementations SF Markus Elfring
2017-11-11 18:11 ` [PATCH 1/3] ALSA: hal2: Use common error handling code in hal2_probe() SF Markus Elfring
2017-11-11 18:13 ` [PATCH 2/3] ALSA: hal2: Improve a size determination in hal2_create() SF Markus Elfring
2017-11-28 6:49 ` Takashi Iwai [this message]
2017-11-11 18:15 ` [PATCH 3/3] ALSA: hal2: Fix a typo in two comment lines SF Markus Elfring
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=s5hlgiqlwyh.wl-tiwai@suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@alsa-project.org \
--cc=arnd@arndb.de \
--cc=arvind.yadav.cs@gmail.com \
--cc=bhumirks@gmail.com \
--cc=broonie@kernel.org \
--cc=elfring@users.sourceforge.net \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=perex@perex.cz \
/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).