qla2x00t-32gbit: Fix IOCB resource check warning

Make qla_get_iocbs_resource() static to fix the warning:

>> drivers/scsi/qla2xxx/qla_iocb.c:3820:5: warning: no previous prototype for
>> 'qla_get_iocbs_resource' [-Wmissing-prototypes]
    3820 | int qla_get_iocbs_resource(struct srb *sp)
	         |     ^~~~~~~~~~~~~~~~~~~~~~

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Nilesh Javali <njavali@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
[ commit 1e27648c8482 upstream ]
This commit is contained in:
Gleb Chesnokov
2023-03-12 13:24:07 +03:00
parent d4ced1a698
commit b0768f5a6a
+1 -1
View File
@@ -3833,7 +3833,7 @@ qla24xx_prlo_iocb(srb_t *sp, struct logio_entry_24xx *logio)
logio->vp_index = sp->fcport->vha->vp_idx;
}
int qla_get_iocbs_resource(struct srb *sp)
static int qla_get_iocbs_resource(struct srb *sp)
{
bool get_exch;
bool push_it_through = false;