cc1: warnings being treated as errorsHad this reported already. The flag in the Makefile for this driver was introduced between v3.3 and v3.4-rc1, in earlier versions it was compiled without it. If you don't actually need it just remove the flag and it will compile just fine!
drivers/scsi/lpfc/lpfc_scsi.c: In function âlpfc_bg_setup_bplâ:
drivers/scsi/lpfc/lpfc_scsi.c:1900:11: error: unused variable ârcâ
drivers/scsi/lpfc/lpfc_scsi.c: In function âlpfc_bg_setup_bpl_protâ:
drivers/scsi/lpfc/lpfc_scsi.c:2037:11: error: unused variable ârcâ
drivers/scsi/lpfc/lpfc_scsi.c: In function âlpfc_bg_setup_sglâ:
drivers/scsi/lpfc/lpfc_scsi.c:2256:11: error: unused variable ârcâ
drivers/scsi/lpfc/lpfc_scsi.c: In function âlpfc_bg_setup_sgl_protâ:
drivers/scsi/lpfc/lpfc_scsi.c:2386:11: error: unused variable ârcâ
Easily fixed though but all the other warnings previously seen were fine
yet this module was compiled with warnings being treated as errors?