mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 10:31:46 +09:00
scsi: qla2xxx: Fix smatch warn for qla_init_iocb_limit()
commitb496953dd0upstream. Fix indentation for warning reported by smatch: drivers/scsi/qla2xxx/qla_init.c:4199 qla_init_iocb_limit() warn: inconsistent indenting Fixes:efa74a62aa("scsi: qla2xxx: Adjust IOCB resource on qpair create") Signed-off-by: Nilesh Javali <njavali@marvell.com> Link: https://lore.kernel.org/r/20230821130045.34850-8-njavali@marvell.com Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
974887e1d6
commit
c7355cbb9c
@@ -4204,7 +4204,7 @@ void qla_init_iocb_limit(scsi_qla_host_t *vha)
|
|||||||
u8 i;
|
u8 i;
|
||||||
struct qla_hw_data *ha = vha->hw;
|
struct qla_hw_data *ha = vha->hw;
|
||||||
|
|
||||||
__qla_adjust_iocb_limit(ha->base_qpair);
|
__qla_adjust_iocb_limit(ha->base_qpair);
|
||||||
ha->base_qpair->fwres.iocbs_used = 0;
|
ha->base_qpair->fwres.iocbs_used = 0;
|
||||||
ha->base_qpair->fwres.exch_used = 0;
|
ha->base_qpair->fwres.exch_used = 0;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user