Re: [PATCH 2/4] gpio-stmpe: Improve a size determination in stmpe_gpio_probe()
From: Linus Walleij
Date: Tue Jan 16 2018 - 05:01:02 EST
On Fri, Jan 12, 2018 at 9:02 PM, SF Markus Elfring
<elfring@xxxxxxxxxxxxxxxxxxxxx> wrote:
> From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
> 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@xxxxxxxxxxxxxxxxxxxxx>
Patch applied.
Yours,
Linus Walleij