On Mon, Dec 19, 2016 at 08:33:43PM -0800, Himanshu Madhani wrote: > From: Quinn Tran <quinn.tran@xxxxxxxxxx> > > Termination of Immediate Notify IOCB was using wrong > IOCB handle. IOCB completion code was unable to find > appropriate code path due to wrong handle. > > Following message is seen in the logs. > > "Error entry - invalid handle/queue (ffff)." > > Signed-off-by: Quinn Tran <quinn.tran@xxxxxxxxxx> > Signed-off-by: Himanshu Madhani <himanshu.madhani@xxxxxxxxxx> > --- > drivers/scsi/qla2xxx/qla_isr.c | 4 ++++ > drivers/scsi/qla2xxx/qla_target.c | 2 +- > 2 files changed, 5 insertions(+), 1 deletion(-) > > diff --git a/drivers/scsi/qla2xxx/qla_isr.c b/drivers/scsi/qla2xxx/qla_isr.c > index af840bf..16bc948 100644 > --- a/drivers/scsi/qla2xxx/qla_isr.c > +++ b/drivers/scsi/qla2xxx/qla_isr.c > @@ -2495,6 +2495,10 @@ struct scsi_dif_tuple { > if (pkt->entry_status & RF_BUSY) > res = DID_BUS_BUSY << 16; > > + if ((pkt->entry_type == NOTIFY_ACK_TYPE) && > + (pkt->handle == QLA_TGT_SKIP_HANDLE)) > + return; No need for the inner braces. Otherwise this looks fine: Reviewed-by: Christoph Hellwig <hch@xxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html