From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751233AbdJDTLH (ORCPT ); Wed, 4 Oct 2017 15:11:07 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:36070 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750951AbdJDTLF (ORCPT ); Wed, 4 Oct 2017 15:11:05 -0400 X-Google-Smtp-Source: AOwi7QAhYTj/y2gmPSuiDjCMYD9zWUq9ETG9VgICj13O1Uvkj83yN8WgqvUhzHwwgAvfWtV8oKvewQ== Date: Wed, 4 Oct 2017 21:11:02 +0200 From: Krzysztof Kozlowski To: SF Markus Elfring Cc: linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Kukjin Kim , Russell King , LKML , kernel-janitors@vger.kernel.org Subject: Re: [PATCH 2/2] ARM: SAMSUNG: Improve a size determination in 13 functions Message-ID: <20171004191102.mnswu25bjxynuh4o@kozik-lap> References: <75c352ad-c51e-2e63-2f93-0f14522ff09c@users.sourceforge.net> <7f196313-ad49-2cd8-e45f-be487e089547@users.sourceforge.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <7f196313-ad49-2cd8-e45f-be487e089547@users.sourceforge.net> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 04, 2017 at 01:12:55PM +0200, SF Markus Elfring wrote: > From: Markus Elfring > Date: Wed, 4 Oct 2017 09:52:33 +0200 > > Replace the specification of data structures by pointer dereferences > 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 > --- > arch/arm/plat-samsung/adc.c | 4 ++-- > arch/arm/plat-samsung/devs.c | 33 +++++++++++---------------------- > 2 files changed, 13 insertions(+), 24 deletions(-) > Thanks, applied. Best regards, Krzysztof