]> git.baikalelectronics.ru Git - kernel.git/commit
ATM-nicstar: Improve another size determination in get_scq()
authorMarkus Elfring <elfring@users.sourceforge.net>
Sat, 10 Sep 2016 06:18:10 +0000 (08:18 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 11 Sep 2016 04:45:24 +0000 (21:45 -0700)
commited76db404ed58fe033a590b361258671d43e8169
treeca6a1dd8159706e4ca79127066930f722d3e551c
parent1be3711c7d74c6e6bd8ef3fc5b11d7a38b5ce7ce
ATM-nicstar: Improve another size determination in get_scq()

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/nicstar.c