ATM-ZeitNet: Improve a size determination in zatm_open()
authorMarkus Elfring <elfring@users.sourceforge.net>
Sat, 10 Sep 2016 08:07:38 +0000 (10:07 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 11 Sep 2016 04:46:06 +0000 (21:46 -0700)
commit5ad3ea3d3952dcbb8047f97fbfa49804ea53a53a
tree1f9b8f9f11e7a0565161a0b6acb785a209e8eb76
parent32230ac1ccbd66f36bd6955eddc45fc06861c1b5
ATM-ZeitNet: Improve a size determination in zatm_open()

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@users.sourceforge.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/atm/zatm.c