diff options
author | Tian Tao <tiantao6@hisilicon.com> | 2020-12-23 02:26:33 +0100 |
---|---|---|
committer | Mika Westerberg <mika.westerberg@linux.intel.com> | 2020-12-28 10:41:53 +0100 |
commit | 82096ecf589d8224447213c4592e54598fea0b9d (patch) | |
tree | 07df064cb39745eb318483175dc2d7cf0e39d5c0 /drivers/thunderbolt/domain.c | |
parent | Linux 5.11-rc1 (diff) | |
download | linux-82096ecf589d8224447213c4592e54598fea0b9d.tar.xz linux-82096ecf589d8224447213c4592e54598fea0b9d.zip |
thunderbolt: Use kmemdup instead of kzalloc and memcpy
Fixes coccicheck warning:
drivers/thunderbolt/dma_test.c:302:13-20: WARNING opportunity for kmemdup.
Signed-off-by: Tian Tao <tiantao6@hisilicon.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Diffstat (limited to 'drivers/thunderbolt/domain.c')
0 files changed, 0 insertions, 0 deletions