From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751650AbdK1Gub (ORCPT ); Tue, 28 Nov 2017 01:50:31 -0500 Received: from mx2.suse.de ([195.135.220.15]:58012 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751133AbdK1Gu3 (ORCPT ); Tue, 28 Nov 2017 01:50:29 -0500 Date: Tue, 28 Nov 2017 07:50:28 +0100 Message-ID: From: Takashi Iwai To: "SF Markus Elfring" Cc: , "Arvind Yadav" , "Bhumika Goyal" , "Mark Brown" , "Jaroslav Kysela" , , "LKML" Subject: Re: [PATCH 2/3] ALSA: sgio2audio: Improve a size determination in snd_sgio2audio_create() In-Reply-To: References: 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 20:22:36 +0100, SF Markus Elfring wrote: > > From: Markus Elfring > Date: Sat, 11 Nov 2017 20:02:07 +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