diff options
| author | Gustavo A. R. Silva <[email protected]> | 2020-06-19 18:01:49 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2020-06-19 20:42:08 +0000 |
| commit | a422d5ff6defb1c86a93f3f320d35eeb545455dd (patch) | |
| tree | ff519a2b11f832c605b53aba7deaff7f22a5e35b /net/tipc/link.c | |
| parent | ethernet: ti: am65-cpsw-qos: Use struct_size() in devm_kzalloc() (diff) | |
| download | kernel-a422d5ff6defb1c86a93f3f320d35eeb545455dd.tar.gz kernel-a422d5ff6defb1c86a93f3f320d35eeb545455dd.zip | |
cxgb4: Use struct_size() helper
Make use of the struct_size() helper instead of an open-coded version
in order to avoid any potential type mistakes.
This code was detected with the help of Coccinelle and, audited and
fixed manually.
Addresses-KSPP-ID: https://github.com/KSPP/linux/issues/83
Signed-off-by: Gustavo A. R. Silva <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/tipc/link.c')
0 files changed, 0 insertions, 0 deletions
