From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751196AbeAVPpm (ORCPT ); Mon, 22 Jan 2018 10:45:42 -0500 Received: from mail-wm0-f68.google.com ([74.125.82.68]:37845 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751028AbeAVPpk (ORCPT ); Mon, 22 Jan 2018 10:45:40 -0500 X-Google-Smtp-Source: AH8x227h4LukEmNOh4RjfePNQiJ/hebt45iCJFchhmRNe+MNjuewIWKLGH0QYfg8Oq3Uz4uojDp6tQ== Date: Mon, 22 Jan 2018 15:45:36 +0000 From: Lee Jones To: SF Markus Elfring Cc: kernel-janitors@vger.kernel.org, LKML Subject: Re: [PATCH 2/2] mfd/rc5t583: Improve a size determination in rc5t583_i2c_probe() Message-ID: <20180122154536.tc45jwvlxl5gornt@dell> References: <681cd296-5d05-cdf8-f031-162d7f837b36@users.sourceforge.net> <144ca5ca-1cfd-28a7-7bf3-8f513d567abc@users.sourceforge.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <144ca5ca-1cfd-28a7-7bf3-8f513d567abc@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, 15 Jan 2018, SF Markus Elfring wrote: > From: Markus Elfring > Date: Mon, 15 Jan 2018 14:50:25 +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 > --- > drivers/mfd/rc5t583.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied, thanks. -- Lee Jones Linaro Services Technical Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog