summaryrefslogtreecommitdiff
path: root/net/psample
diff options
context:
space:
mode:
authorTian Tao <tiantao6@hisilicon.com>2020-12-23 09:26:33 +0800
committerMika Westerberg <mika.westerberg@linux.intel.com>2020-12-28 12:41:53 +0300
commit82096ecf589d8224447213c4592e54598fea0b9d (patch)
tree07df064cb39745eb318483175dc2d7cf0e39d5c0 /net/psample
parent5c8fe583cce542aa0b84adc939ce85293de36e5e (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