commit | 709ab231f8b4417411147dd9730928ba214d5c31 | [log] [tgz] |
---|---|---|
author | Markus Elfring <elfring@users.sourceforge.net> | Sun Aug 21 10:39:04 2016 +0200 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Tue Aug 23 22:46:58 2016 -0400 |
tree | dde326964cc71b05684f2856c55e999555b594c6 | |
parent | 2a1e8447153259922c0d97eb5d35f76c9b41fbb0 [diff] |
scsi: megaraid_sas: Use memdup_user() rather than duplicating its implementation Reuse existing functionality from memdup_user() instead of keeping duplicate source code. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring <elfring@users.sourceforge.net> Acked by: Sumit Saxena <sumit.saxena@broadcom.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>