summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/FlashPoint.c
diff options
context:
space:
mode:
authorzhong jiang <zhongjiang@huawei.com>2018-09-18 17:54:41 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2018-09-26 02:44:21 +0200
commit048a864e533039cc950b716e774c2c09af8fa1dd (patch)
tree754b2bef513baf64d3c8baea76847b888c37d52a /drivers/scsi/FlashPoint.c
parentscsi: advansys: Remove unnecessary parentheses (diff)
downloadlinux-048a864e533039cc950b716e774c2c09af8fa1dd.tar.xz
linux-048a864e533039cc950b716e774c2c09af8fa1dd.zip
scsi: hpsa: Use vmemdup_user to replace the open code
vmemdup_user is better than duplicating its implementation, So just replace the open code. The issue is detected with the help of Coccinelle. Tested-by: Don Brace <don.brace@microsemi.com> Acked-by: Don Brace <don.brace@microsemi.com> Signed-off-by: zhong jiang <zhongjiang@huawei.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/FlashPoint.c')
0 files changed, 0 insertions, 0 deletions