Re: [PATCH 17/29] IB/mlx4: Improve another size determination in mlx4_ib_add()

2017-02-19 Thread Majd Dibbiny
> On Feb 18, 2017, at 11:06 PM, SF Markus Elfring > wrote: > > From: Markus Elfring > Date: Sat, 18 Feb 2017 15:43:54 +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

Re: [PATCH 17/29] IB/mlx4: Improve another size determination in mlx4_ib_add()

2017-02-19 Thread Majd Dibbiny
> On Feb 18, 2017, at 11:06 PM, SF Markus Elfring > wrote: > > From: Markus Elfring > Date: Sat, 18 Feb 2017 15:43:54 +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

[PATCH 17/29] IB/mlx4: Improve another size determination in mlx4_ib_add()

2017-02-18 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 18 Feb 2017 15:43:54 +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. Signed-off-by: Mar