]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8839cc32f58de213813486ef40a5db683e5a3e28
tree1f9b8f9f11e7a0565161a0b6acb785a209e8eb76
parent1838f0f96b9c6086baddfb9fbcabcbbb3080bbfb
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