summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2015-10-19 18:54:22 +0300
committerIgor Pashev <pashev.igor@gmail.com>2015-10-19 18:54:22 +0300
commit64f298f048a4093c3d1a82828ca4733557ea27a9 (patch)
treec6c2c75ab180384ff89b3b42d15c8cfffdb0609e
parentd37b08ac17a61a500f06028b5a4dac35d7105c82 (diff)
downloadillumos-packaging-64f298f048a4093c3d1a82828ca4733557ea27a9.tar.gz
Added bnxe-macro.patch
-rw-r--r--uts/debian/patches/bnxe-macro.patch15
-rw-r--r--uts/debian/patches/series1
2 files changed, 16 insertions, 0 deletions
diff --git a/uts/debian/patches/bnxe-macro.patch b/uts/debian/patches/bnxe-macro.patch
new file mode 100644
index 0000000..2b8d00e
--- /dev/null
+++ b/uts/debian/patches/bnxe-macro.patch
@@ -0,0 +1,15 @@
+Index: uts/usr/src/uts/common/io/bnxe/577xx/drivers/common/include/debug.h
+===================================================================
+--- uts.orig/usr/src/uts/common/io/bnxe/577xx/drivers/common/include/debug.h
++++ uts/usr/src/uts/common/io/bnxe/577xx/drivers/common/include/debug.h
+@@ -879,8 +879,8 @@ void um_dbg_log_msg(void* ctx, char *fil
+ #endif // !WIN_DIAG
+
+ #define CHK_NULL(p) (p==NULL)
+-#define ERR_IF(cond)(cond==TRUE)
+-#define WRN_IF(cond)(cond==TRUE)
++#define ERR_IF(cond)((cond)==TRUE)
++#define WRN_IF(cond)((cond)==TRUE)
+
+ #endif // !DBG
+
diff --git a/uts/debian/patches/series b/uts/debian/patches/series
index ddd3ecc..36c661e 100644
--- a/uts/debian/patches/series
+++ b/uts/debian/patches/series
@@ -62,3 +62,4 @@ heci_init.c.patch
DEVNAME_DEVFSADM_RUNNING.patch
nl7ctokgen-sort.patch
pcmcia.patch
+bnxe-macro.patch