scsi: qedf: Add additional checks for io_req->sc_cmd validity
authorChad Dupuis <cdupuis@marvell.com>
Tue, 26 Mar 2019 07:38:46 +0000 (00:38 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 28 Mar 2019 01:54:52 +0000 (21:54 -0400)
commit627cc7dd73f6aa3025398507c729b97fb19c270b
tree14ce2ee34ec79f0ff00b3702c7f3a0f7b3535d11
parent78a8ab3cc0f95a66c8fb2429030289103de173e7
scsi: qedf: Add additional checks for io_req->sc_cmd validity

 - Check the validity of various pointers before processing.

Signed-off-by: Chad Dupuis <cdupuis@marvell.com>
Signed-off-by: Saurav Kashyap <skashyap@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qedf/qedf_io.c