[PATCH 0/4] SCSI-HPSA: Adjustments for hpsa_big_passthru_ioctl()

From: SF Markus Elfring
Date: Mon Mar 05 2018 - 03:31:01 EST


From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 5 Mar 2018 09:14:32 +0100

A few update suggestions were taken into account
from static source code analysis.

Markus Elfring (4):
Use memdup_user() rather than duplicating its implementation
Less function calls in hpsa_big_passthru_ioctl() after error detection
Delete an unnecessary initialisation
Move a variable assignment

drivers/scsi/hpsa.c | 44 +++++++++++++++++++++-----------------------
1 file changed, 21 insertions(+), 23 deletions(-)

--
2.16.2