diff options
author | Wan Jiabing <[email protected]> | 2021-10-13 02:34:41 -0400 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2021-10-18 13:35:24 +0200 |
commit | 260aecd643fc129c1771cefdd2aaaedf0485fa59 (patch) | |
tree | c0feabc5a34a56e73783ea3c737062891b8092e1 /tools/perf/scripts/python/arm-cs-trace-disasm.py | |
parent | 9e1ff307c779ce1f0f810c7ecce3d95bbae40896 (diff) |
iommu/dart: Use kmemdup instead of kzalloc and memcpy
Fix following coccicheck warning:
drivers/iommu/apple-dart.c:704:20-27: WARNING opportunity for kmemdup
Signed-off-by: Wan Jiabing <[email protected]>
Acked-by: Sven Peter <[email protected]>
Reviewed-by: Alyssa Rosenzweig <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions