Re: [PATCH] megaraid_sas: Use memdup_user() rather than duplicating its implementation

2016-08-23 Thread Martin K. Petersen
> "SF" == SF Markus Elfring writes: SF> Reuse existing functionality from memdup_user() instead of keeping SF> duplicate source code. Applied to 4.9/scsi-queue. -- Martin K. Petersen Oracle Linux Engineering

RE: [PATCH] megaraid_sas: Use memdup_user() rather than duplicating its implementation

2016-08-22 Thread Sumit Saxena
Lingala >Cc: LKML; kernel-janit...@vger.kernel.org; Julia Lawall >Subject: [PATCH] megaraid_sas: Use memdup_user() rather than duplicating >its >implementation > >From: Markus Elfring >Date: Sun, 21 Aug 2016 10:39:04 +0200 > >Reuse existing functionality from memdup_user

[PATCH] megaraid_sas: Use memdup_user() rather than duplicating its implementation

2016-08-21 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 21 Aug 2016 10:39:04 +0200 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 --- drivers/scsi/megaraid/megaraid_sas_base.c | 11 +++--