[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACRpkdYn0OASSMe3msNy7zJdur5tJ15yWB9AJno2PXBC0Sk4EA@mail.gmail.com>
Date: Tue, 16 Jan 2018 11:00:53 +0100
From: Linus Walleij <linus.walleij@...aro.org>
To: SF Markus Elfring <elfring@...rs.sourceforge.net>
Cc: linux-gpio@...r.kernel.org, LKML <linux-kernel@...r.kernel.org>,
kernel-janitors@...r.kernel.org
Subject: Re: [PATCH 2/4] gpio-stmpe: Improve a size determination in stmpe_gpio_probe()
On Fri, Jan 12, 2018 at 9:02 PM, SF Markus Elfring
<elfring@...rs.sourceforge.net> wrote:
> From: Markus Elfring <elfring@...rs.sourceforge.net>
> 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 <elfring@...rs.sourceforge.net>
Patch applied.
Yours,
Linus Walleij
Powered by blists - more mailing lists