From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751664AbdK1GtO (ORCPT ); Tue, 28 Nov 2017 01:49:14 -0500 Received: from mx2.suse.de ([195.135.220.15]:57930 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751036AbdK1GtN (ORCPT ); Tue, 28 Nov 2017 01:49:13 -0500 Date: Tue, 28 Nov 2017 07:49:10 +0100 Message-ID: From: Takashi Iwai To: "SF Markus Elfring" Cc: , "Arnd Bergmann" , "Arvind Yadav" , "Bhumika Goyal" , "Mark Brown" , "Jaroslav Kysela" , , "LKML" Subject: Re: [PATCH 2/3] ALSA: hal2: Improve a size determination in hal2_create() In-Reply-To: References: <118a96d5-c52a-fd22-23d5-28f20de7ff22@users.sourceforge.net> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/25.3 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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