From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751323AbdJDSMZ (ORCPT ); Wed, 4 Oct 2017 14:12:25 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:33981 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750779AbdJDSMY (ORCPT ); Wed, 4 Oct 2017 14:12:24 -0400 X-Google-Smtp-Source: AOwi7QDZHk6GyHIBLss6r1JOVoFqjF3+KtPdL5lP+1caSp0vN1pXB4aUB7SOzaSn3YDrQlg9Jg13YA== Date: Wed, 4 Oct 2017 20:12:20 +0200 From: Krzysztof Kozlowski To: SF Markus Elfring Cc: linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, Kukjin Kim , Russell King , LKML , kernel-janitors@vger.kernel.org Subject: Re: [PATCH 2/6] ARM: s3c24xx: Improve a size determination in s3c2410_iotiming_get() Message-ID: <20171004181220.fwsz76kcj2l7dqd3@kozik-lap> References: <3cccfa2f-4bcd-9c45-c56c-2b71b2ae4a42@users.sourceforge.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <3cccfa2f-4bcd-9c45-c56c-2b71b2ae4a42@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 Mon, Oct 02, 2017 at 07:59:19PM +0200, SF Markus Elfring wrote: > From: Markus Elfring > Date: Mon, 2 Oct 2017 19:16:58 +0200 > > 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 > --- > arch/arm/mach-s3c24xx/iotiming-s3c2410.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Thanks, applied, squashed with 5/6 and changed commit message as I had troubles with understanding this one. Try to use simple sentences... Best regards, Krzysztof