Messages in this thread | | | Subject | Re: [PATCH 5/12] scsi: megaraid_sas - Online Controller Reset (OCR): Add and initialize the OCR relaed variable | From | James Bottomley <> | Date | Thu, 17 Jun 2010 11:19:30 -0500 |
| |
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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |