qla2x00t-32gbit: Backport the BSG code

Backport the BSG code that was introduced in the previous commit.
This commit is contained in:
Gleb Chesnokov
2022-01-19 23:16:04 +03:00
parent b6734a2eb1
commit 9c3e39e3d0
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -3021,7 +3021,7 @@ done:
return 0;
}
int qla2x00_mailbox_passthru(struct bsg_job *bsg_job)
int qla2x00_mailbox_passthru(BSG_JOB_TYPE *bsg_job)
{
struct fc_bsg_reply *bsg_reply = bsg_job->reply;
scsi_qla_host_t *vha = shost_priv(fc_bsg_to_shost(bsg_job));
+1 -1
View File
@@ -666,7 +666,7 @@ extern int qla2xxx_get_vpd_field(scsi_qla_host_t *, char *, char *, size_t);
extern void qla2xxx_flash_npiv_conf(scsi_qla_host_t *);
extern int qla24xx_read_fcp_prio_cfg(scsi_qla_host_t *);
extern int qla2x00_mailbox_passthru(struct bsg_job *bsg_job);
extern int qla2x00_mailbox_passthru(BSG_JOB_TYPE *bsg_job);
int __qla_copy_purex_to_buffer(struct scsi_qla_host *vha, void **pkt,
struct rsp_que **rsp, u8 *buf, u32 buf_len);