qla2xxx: Fix wrong IOCB type assumption
authorQuinn Tran <quinn.tran@cavium.com>
Sat, 24 Dec 2016 02:06:05 +0000 (18:06 -0800)
committerBart Van Assche <bart.vanassche@sandisk.com>
Tue, 17 Jan 2017 19:26:53 +0000 (11:26 -0800)
commitbb1181c9a8b46b6f10e749d9ed94480336445d7f
tree58664ea01993c2dc280f19c05d6622aaed77807e
parent91f42b33e5b48a956a352ce10da52b77f4277d5f
qla2xxx: Fix wrong IOCB type assumption

qlt_reset is called with Immedidate Notify IOCB only.
Current code wrongly cast it as ATIO IOCB.

Signed-off-by: Quinn Tran <quinn.tran@cavium.com>
Signed-off-by: Himanshu Madhani <himanshu.madhani@cavium.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
drivers/scsi/qla2xxx/qla_target.c