commit | 048a864e533039cc950b716e774c2c09af8fa1dd | [log] [tgz] |
---|---|---|
author | zhong jiang <zhongjiang@huawei.com> | Tue Sep 18 23:54:41 2018 +0800 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Tue Sep 25 20:44:21 2018 -0400 |
tree | 754b2bef513baf64d3c8baea76847b888c37d52a | |
parent | 874deb1c652df94917f5619d972d2435a762b8a0 [diff] |
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>