scsi: qla2xxx: Fix compilation issue in PPC systems
Fix compile time errors reported on PPC systems, qla_gbl.h:991:20: error: inlining failed in call to always_inline ‘qla_nvme_abort_set_option’: function body not available Link: https://lore.kernel.org/r/20201202132312.19966-7-njavali@marvell.com Signed-off-by: Arun Easi <aeasi@marvell.com> Signed-off-by: Nilesh Javali <njavali@marvell.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
0ce8ab50a6
commit
aceba54ba0
@ -962,7 +962,7 @@ qla82xx_read_status_reg(struct qla_hw_data *ha, uint32_t *val)
|
||||
static int
|
||||
qla82xx_flash_wait_write_finish(struct qla_hw_data *ha)
|
||||
{
|
||||
uint32_t val;
|
||||
uint32_t val = 0;
|
||||
int i, ret;
|
||||
scsi_qla_host_t *vha = pci_get_drvdata(ha->pdev);
|
||||
|
||||
|
@ -139,7 +139,7 @@ qla8044_poll_wait_for_ready(struct scsi_qla_host *vha, uint32_t addr1,
|
||||
uint32_t mask)
|
||||
{
|
||||
unsigned long timeout;
|
||||
uint32_t temp;
|
||||
uint32_t temp = 0;
|
||||
|
||||
/* jiffies after 100ms */
|
||||
timeout = jiffies + msecs_to_jiffies(TIMEOUT_100_MS);
|
||||
@ -2594,7 +2594,7 @@ qla8044_minidump_process_rdmux(struct scsi_qla_host *vha,
|
||||
struct qla8044_minidump_entry_hdr *entry_hdr,
|
||||
uint32_t **d_ptr)
|
||||
{
|
||||
uint32_t r_addr, s_stride, s_addr, s_value, loop_cnt, i, r_value;
|
||||
uint32_t r_addr, s_stride, s_addr, s_value, loop_cnt, i, r_value = 0;
|
||||
struct qla8044_minidump_entry_mux *mux_hdr;
|
||||
uint32_t *data_ptr = *d_ptr;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user