public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 3.4: Build failure for lpfc_scsi driver
@ 2012-05-21 21:16 Alex Buell
  2012-05-21 21:31 ` Tobias Klausmann
  0 siblings, 1 reply; 2+ messages in thread
From: Alex Buell @ 2012-05-21 21:16 UTC (permalink / raw)
  To: Mailing Lists - Kernel Developers

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: 3.4: Build failure for lpfc_scsi driver
  2012-05-21 21:16 3.4: Build failure for lpfc_scsi driver Alex Buell
@ 2012-05-21 21:31 ` Tobias Klausmann
  0 siblings, 0 replies; 2+ messages in thread
From: Tobias Klausmann @ 2012-05-21 21:31 UTC (permalink / raw)
  To: alex.buell; +Cc: Mailing Lists - Kernel Developers

On 21.05.2012 23:16, Alex Buell wrote:
> 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?
Had 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!


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-05-21 21:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-21 21:16 3.4: Build failure for lpfc_scsi driver Alex Buell
2012-05-21 21:31 ` Tobias Klausmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox