scsi: smartpqi: correct REGNEWD return status
authorMurthy Bhat <Murthy.Bhat@microsemi.com>
Thu, 22 Aug 2019 20:39:44 +0000 (15:39 -0500)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 29 Aug 2019 22:31:39 +0000 (18:31 -0400)
commit9946a3987248353c32c94f3b5b13070aee0a1a6b
treee4d3b22835c3b12e23ac6b86d2b5c5fabbdc1f61
parent71ecc60d9ba47ee5af5a1d0f33cc92755995fb78
scsi: smartpqi: correct REGNEWD return status

Return -EINPROGRESS when a rescan worker is queued.

Reviewed-by: Scott Benesh <scott.benesh@microsemi.com>
Reviewed-by: Kevin Barnett <kevin.barnett@microsemi.com>
Signed-off-by: Murthy Bhat <Murthy.Bhat@microsemi.com>
Signed-off-by: Don Brace <don.brace@microsemi.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/smartpqi/smartpqi_init.c