]> git.karo-electronics.de Git - karo-tx-linux.git/commit
SCSI: lpfc: fix problems with -Werror
authorJames Bottomley <jbottomley@parallels.com>
Thu, 21 Jun 2012 07:50:02 +0000 (07:50 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 2 Oct 2012 17:39:23 +0000 (10:39 -0700)
commite4134110803b08c03f051a1c7379474f28ebec83
treed8bfeeb14b6e958eac187afb14e709d56f578b52
parent18e140c64679d53fe0952b12fd9bd01df1e8d29d
SCSI: lpfc: fix problems with -Werror

commit 4bdd03e61b7a5c4c6bc2b25d46fcd491788fdfb3 upstream.

Commit d38bd3aef ("Add -Werror compilation flag") is causing build breakage
with random gcc incarnations.  These look like gcc problems, but we shouldn't
break the build because of a bad gcc.  Fix this by adding a make flag

WARNINGS_BECOME_ERRORS=1

which is the same as aic7xxx uses so ordinarily the build doesn't use -Werror

Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Cc: Alex Iannicelli <alex.iannicelli@emulex.com>
Cc: James Smart <james.smart@emulex.com>
Cc: Jonathan Nieder <jrnieder@gmail.com>
Cc: Mike Pagano <mpagano@gentoo.org>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/lpfc/Makefile