Messages in this thread | | | Date | Mon, 21 May 2012 20:04:31 +0200 | From | Tobias Klausmann <> | Subject | Re: Linux 3.4 released |
| |
Hello there, got a build error while compiling linux-3.4:
drivers/scsi/lpfc/lpfc_scsi.c: In function ‘lpfc_bg_setup_bpl’: drivers/scsi/lpfc/lpfc_scsi.c:1900:11: error: unused variable ‘rc’ [-Werror=unused-variable] 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’ [-Werror=unused-variable] drivers/scsi/lpfc/lpfc_scsi.c: In function ‘lpfc_bg_setup_sgl’: drivers/scsi/lpfc/lpfc_scsi.c:2256:11: error: unused variable ‘rc’ [-Werror=unused-variable] 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’ [-Werror=unused-variable] cc1: all warnings being treated as errors
This is caused by the args defined in the Makefile for the driver: ccflags-y += -Werror
Thought this might be helpful
Greetings Tobias Klausmann -- 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/
| |