diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2016-08-21 11:39:04 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2016-08-24 05:46:58 +0300 |
commit | 709ab231f8b4417411147dd9730928ba214d5c31 (patch) | |
tree | dde326964cc71b05684f2856c55e999555b594c6 /drivers/scsi/esas2r/esas2r_main.c | |
parent | 2a1e8447153259922c0d97eb5d35f76c9b41fbb0 (diff) | |
download | linux-709ab231f8b4417411147dd9730928ba214d5c31.tar.xz |
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>
Diffstat (limited to 'drivers/scsi/esas2r/esas2r_main.c')
0 files changed, 0 insertions, 0 deletions