Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751757AbeAPKA7 (ORCPT + 1 other); Tue, 16 Jan 2018 05:00:59 -0500 Received: from mail-it0-f52.google.com ([209.85.214.52]:43412 "EHLO mail-it0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751693AbeAPKAy (ORCPT ); Tue, 16 Jan 2018 05:00:54 -0500 X-Google-Smtp-Source: ACJfBostQFoIWBcgiWgf03rQ//4sJAtc6mt7pwq/SkWnJ/G345rQ51YYCGZH1KWqFles2aca1i2j87Mqbu3uVIfBJ+w= MIME-Version: 1.0 In-Reply-To: References: From: Linus Walleij Date: Tue, 16 Jan 2018 11:00:53 +0100 Message-ID: Subject: Re: [PATCH 2/4] gpio-stmpe: Improve a size determination in stmpe_gpio_probe() To: SF Markus Elfring Cc: linux-gpio@vger.kernel.org, LKML , kernel-janitors@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: On Fri, Jan 12, 2018 at 9:02 PM, SF Markus Elfring wrote: > From: Markus Elfring > Date: Fri, 12 Jan 2018 19:36:29 +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 Patch applied. Yours, Linus Walleij