diff options
author | Wan Jiabing <wanjiabing@vivo.com> | 2021-10-13 02:34:41 -0400 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2021-10-18 13:35:24 +0200 |
commit | 260aecd643fc129c1771cefdd2aaaedf0485fa59 (patch) | |
tree | c0feabc5a34a56e73783ea3c737062891b8092e1 /Documentation/netlabel | |
parent | 9e1ff307c779ce1f0f810c7ecce3d95bbae40896 (diff) | |
download | linux-260aecd643fc129c1771cefdd2aaaedf0485fa59.tar.bz2 |
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 <wanjiabing@vivo.com>
Acked-by: Sven Peter <sven@svenpeter.dev>
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Link: https://lore.kernel.org/r/20211013063441.29888-1-wanjiabing@vivo.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'Documentation/netlabel')
0 files changed, 0 insertions, 0 deletions