From: Tobias Klausmann <tobias.johannes.klausmann@mni.thm.de>
To: alex.buell@munted.eu
Cc: Mailing Lists - Kernel Developers <linux-kernel@vger.kernel.org>
Subject: Re: 3.4: Build failure for lpfc_scsi driver
Date: Mon, 21 May 2012 23:31:37 +0200 [thread overview]
Message-ID: <4FBAB439.3040104@mni.thm.de> (raw)
In-Reply-To: <1337635015.29025.41.camel@lithium.local.net>
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!
prev parent reply other threads:[~2012-05-21 21:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-21 21:16 3.4: Build failure for lpfc_scsi driver Alex Buell
2012-05-21 21:31 ` Tobias Klausmann [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4FBAB439.3040104@mni.thm.de \
--to=tobias.johannes.klausmann@mni.thm.de \
--cc=alex.buell@munted.eu \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.