diff options
author | 2020-09-09 19:58:55 +0100 | |
---|---|---|
committer | 2020-09-15 21:59:06 -0400 | |
commit | f97e6e1eabbfed0ec3ccce7562df26a5b21d0d99 (patch) | |
tree | d3c98cd489858c7b65fe561bccaf0ea41bcf5289 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | scsi: virtio_scsi: Rescan the entire target on transport reset when LUN is 0 (diff) | |
download | wireguard-linux-f97e6e1eabbfed0ec3ccce7562df26a5b21d0d99.tar.xz wireguard-linux-f97e6e1eabbfed0ec3ccce7562df26a5b21d0d99.zip |
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/20200909185855.151964-1-alex.dewar90@gmail.com
Signed-off-by: Alex Dewar <alex.dewar90@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions