Re: [PATCH 2/2] clk/versatile: Improve a size determination in icst_clk_setup()
From: Linus Walleij
Date: Tue Oct 03 2017 - 16:26:25 EST
On Wed, Sep 27, 2017 at 9:40 PM, SF Markus Elfring
> From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
> Date: Wed, 27 Sep 2017 21:24:43 +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 <elfring@xxxxxxxxxxxxxxxxxxxxx>
Acked-by: Linus Walleij <linus.walleij@xxxxxxxxxx>