summaryrefslogtreecommitdiff
path: root/uts/debian/patches/uts-fcoet-array-bounds-warning.patch
blob: 999df082370f13cd57f4bbc26b20959935972e1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Description: definition of FCOE_B2V_*
 usr/src/uts/common/io/comstar/port/fcoet/fcoet_eth.c +232
 usr/src/uts/common/io/fibre-channel/fca/fcoei/fcoei.h +295
 usr/src/uts/common/sys/fcoe/fcoe_common.h

Index: b/usr/src/uts/intel/fcoet/Makefile
===================================================================
--- a/usr/src/uts/intel/fcoet/Makefile	2014-03-01 22:52:13.854228999 +0400
+++ b/usr/src/uts/intel/fcoet/Makefile	2014-03-01 22:54:53.022031374 +0400
@@ -42,7 +42,7 @@
 #
 #	Include common rules.
 #
-include ../Makefile.$(ARCHDIR)
+include $(UTSBASE)/intel/Makefile.intel
 
 #
 #	Define targets
@@ -51,6 +51,8 @@
 LINT_TARGET	= $(MODULE).lint
 INSTALL_TARGET	= $(BINARY) $(ROOTMODULE)
 
+CERRWARN       += -_gcc=-Wno-array-bounds
+
 #
 #	Overrides and depends_on
 #