From: James Bottomley on 17 Jun 2010 12:20 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(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
From: Yang, Bo on 17 Jun 2010 13:10 James, Thanks, I will re-submit the patches 5-12. Regards, Bo Yang -----Original Message----- From: James Bottomley [mailto:James.Bottomley(a)suse.de] Sent: Thursday, June 17, 2010 12:20 PM To: Yang, Bo Cc: 'linux-scsi(a)vger.kernel.org'; 'akpm(a)osdl.org'; 'linux-kernel(a)vger.kernel.org' Subject: Re: [PATCH 5/12] scsi: megaraid_sas - Online Controller Reset (OCR): Add and initialize the OCR relaed variable 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
|
Pages: 1 Prev: per_cpu_ptr_to_phys() failure on UV x86_64 Next: [PATCH] Remove Hayes ESP ioctls |