diff options
| author | Gustavo A. R. Silva <gustavoars@kernel.org> | 2020-06-19 12:37:15 -0500 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2020-06-19 13:42:08 -0700 |
| commit | f362b70bd67add130ae4321306b62237356889a4 (patch) | |
| tree | af25ce1b2fe60bbd61b86986c8f3f27bae519c9a /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | ipv6: icmp6: avoid indirect call for icmpv6_send() (diff) | |
| download | linux-f362b70bd67add130ae4321306b62237356889a4.tar.gz linux-f362b70bd67add130ae4321306b62237356889a4.zip | |
ethernet: ti: am65-cpsw-qos: Use struct_size() in devm_kzalloc()
Make use of the struct_size() helper instead of an open-coded version
in order to avoid any potential type mistakes. Also, remove unnecessary
variable _size_.
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 <gustavoars@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
