diff options
author | Tian Tao <tiantao6@hisilicon.com> | 2020-12-23 09:26:33 +0800 |
---|---|---|
committer | Mika Westerberg <mika.westerberg@linux.intel.com> | 2020-12-28 12:41:53 +0300 |
commit | 82096ecf589d8224447213c4592e54598fea0b9d (patch) | |
tree | 07df064cb39745eb318483175dc2d7cf0e39d5c0 /net/psample | |
parent | 5c8fe583cce542aa0b84adc939ce85293de36e5e (diff) |
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 'net/psample')
0 files changed, 0 insertions, 0 deletions