Re: [PATCH 5/12] scsi: megaraid_sas - Online Controller Reset(OCR): Add and initialize the OCR relaed variable

From: James Bottomley
Date: Thu Jun 17 2010 - 12:19:45 EST


On Wed, 2010-06-09 at 21:54 -0600, Yang, Bo wrote:
> To support online controller reset, driver need to define some
> instance based variable and initialize them.

This doesn't compile:

CC [M] drivers/scsi/megaraid/megaraid_sas.o
drivers/scsi/megaraid/megaraid_sas.c: In function
âmegasas_deplete_reply_queueâ:
drivers/scsi/megaraid/megaraid_sas.c:2090: warning: unused variable
âfw_stateâ
drivers/scsi/megaraid/megaraid_sas.c: In function âmegasas_init_mfiâ:
drivers/scsi/megaraid/megaraid_sas.c:3023: error: âstruct
megasas_ctrl_propâ has no member named âOnOffPropertiesâ
drivers/scsi/megaraid/megaraid_sas.c: In function âmegasas_probe_oneâ:
drivers/scsi/megaraid/megaraid_sas.c:3486: error:
âprocess_fw_state_change_wqâ undeclared (first use in this function)
drivers/scsi/megaraid/megaraid_sas.c:3486: error: (Each undeclared
identifier is reported only once
drivers/scsi/megaraid/megaraid_sas.c:3486: error: for each function it
appears in.)

Because OnOffProperties structure is defined in patch 6/12 as is the
process_fw_state_change_wq function.

I've got 1-4 ... please resubmit 5-12 so they actually build in the
order submitted.

Thanks,

James


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/