diff options
author | Zou Wei <zou_wei@huawei.com> | 2020-04-29 06:35:28 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-05-01 06:59:34 +0300 |
commit | 37ecb5b8b8cd3156e739fd1c56a8e3842b72ebad (patch) | |
tree | 21d62509a23f21fb8315087ceaa482aa175dbb37 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 2597912514925f6f06e85807cc9fc0fdfa630d11 (diff) | |
download | linux-37ecb5b8b8cd3156e739fd1c56a8e3842b72ebad.tar.xz |
hinic: Use kmemdup instead of kzalloc and memcpy
Fixes coccicheck warnings:
drivers/net/ethernet/huawei/hinic/hinic_hw_mbox.c:452:17-24: WARNING opportunity for kmemdup
drivers/net/ethernet/huawei/hinic/hinic_hw_mbox.c:458:23-30: WARNING opportunity for kmemdup
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zou Wei <zou_wei@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions