aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAlex Dewar <[email protected]>2020-09-09 19:58:55 +0100
committerMartin K. Petersen <[email protected]>2020-09-15 21:59:06 -0400
commitf97e6e1eabbfed0ec3ccce7562df26a5b21d0d99 (patch)
treed3c98cd489858c7b65fe561bccaf0ea41bcf5289 /tools/perf/scripts/python
parentbeef6fd02b906880c871ebdf6add166ebe54f632 (diff)
scsi: aic7xxx: Use kmemdup() in two places
kmemdup() can be used instead of kmalloc()+memcpy(). Replace two occurrences of this pattern. Issue identified with Coccinelle. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alex Dewar <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions