summaryrefslogtreecommitdiff
path: root/uts/debian/patches/uts-emlxs-array-bounds-warning.patch
blob: 9d998f3d2aefa496b549067dedf8ff35bf47567a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description:  array subscript is above array bounds
 File usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_fcf.c:
 2508     /* Pause all active FCFI's */
 2509     for (i = 0; i < fcftab->fcfi_count; i++) {
 2510         fcfp = fcftab->fcfi[i];
 2511 

Index: b/usr/src/uts/intel/emlxs/Makefile
===================================================================
--- a/usr/src/uts/intel/emlxs/Makefile	2014-03-01 22:52:17.229184234 +0400
+++ b/usr/src/uts/intel/emlxs/Makefile	2014-03-01 22:54:39.648961049 +0400
@@ -94,6 +94,7 @@
 CERRWARN	+= -_gcc=-Wno-parentheses
 CERRWARN	+= -_gcc=-Wno-unused-label
 CERRWARN	+= -_gcc=-Wno-uninitialized
+CERRWARN	+= -_gcc=-Wno-array-bounds
 
 #
 #	Default build targets.