From: Takashi Iwai Date: Tue, 28 Nov 2017 06:49:10 +0000 Subject: Re: [PATCH 2/3] ALSA: hal2: Improve a size determination in hal2_create() Message-Id: List-Id: References: <118a96d5-c52a-fd22-23d5-28f20de7ff22@users.sourceforge.net> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: SF Markus Elfring Cc: alsa-devel@alsa-project.org, Arnd Bergmann , kernel-janitors@vger.kernel.org, LKML , Mark Brown , Arvind Yadav , Bhumika Goyal On Sat, 11 Nov 2017 19:13:15 +0100, SF Markus Elfring wrote: > > From: Markus Elfring > 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 Applied, thanks. Takashi