Re: [PATCH 2/2] ext4: Improve a size determination in two functions
From: Theodore Ts'o
Date: Thu Aug 24 2017 - 13:50:48 EST
On Sat, Aug 19, 2017 at 08:49:20PM -0500, Eric Sandeen wrote:
> On 8/19/17 6:48 AM, SF Markus Elfring wrote:
> > From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
> > Date: Sat, 19 Aug 2017 13:14:26 +0200
> >
> > Replace the specification of data structures by pointer dereferences
> > 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>
>
> Looks good,
>
> Reviewed-by: Eric Sandeen <sandeen@xxxxxxxxxx>
Thanks, applied.
- Ted