Re: [PATCH 2/3] RDS: IB: Improve a size determination in rds_ib_add_one()

From: Santosh Shilimkar
Date: Mon May 22 2017 - 15:22:32 EST


On 5/22/2017 7:12 AM, SF Markus Elfring wrote:
From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 22 May 2017 15:40:21 +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.

Signed-off-by: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
---
Acked-by: Santosh Shilimkar <santosh.shilimkar@xxxxxxxxxx>