diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2017-04-17 09:06:33 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-04-18 13:55:07 -0400 |
commit | 81f915eb3ff2908d0f6dc6b0d15e589577214516 (patch) | |
tree | 3bb7d7a1001f997d333511eb60605e87ee423a44 /drivers/net/dsa/dsa_loop_bdinfo.c | |
parent | 03bfffdef421fd8ff795aa1cf16d1a0d78cb5f0e (diff) |
net: mvpp2: Improve another size determination in mvpp2_bm_init()
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>
Diffstat (limited to 'drivers/net/dsa/dsa_loop_bdinfo.c')
0 files changed, 0 insertions, 0 deletions