3.4: Build failure for lpfc_scsi driver

From: Alex Buell
Date: Mon May 21 2012 - 17:22:07 EST


cc1: warnings being treated as errors
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?
--
Tactical Nuclear Kittens
--
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/