Module Name: src
Committed By: msaitoh
Date: Tue Mar 10 08:54:17 UTC 2015
Modified Files:
src/sys/dev/pci/ixgbe: ixgbe.h
Log Message:
Add missing parenthesis in IXGBE_CORE_LOCK_ASSERT() macro. No binary change.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/dev/pci/ixgbe/ixgbe.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/pci/ixgbe/ixgbe.h
diff -u src/sys/dev/pci/ixgbe/ixgbe.h:1.2 src/sys/dev/pci/ixgbe/ixgbe.h:1.3
--- src/sys/dev/pci/ixgbe/ixgbe.h:1.2 Wed Feb 4 09:05:53 2015
+++ src/sys/dev/pci/ixgbe/ixgbe.h Tue Mar 10 08:54:17 2015
@@ -59,7 +59,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
/*$FreeBSD: src/sys/dev/ixgbe/ixgbe.h,v 1.24 2011/04/28 23:21:40 jfv Exp $*/
-/*$NetBSD: ixgbe.h,v 1.2 2015/02/04 09:05:53 msaitoh Exp $*/
+/*$NetBSD: ixgbe.h,v 1.3 2015/03/10 08:54:17 msaitoh Exp $*/
#ifndef _IXGBE_H_
@@ -487,7 +487,7 @@ struct adapter {
#define IXGBE_CORE_UNLOCK(_sc) mutex_exit(&(_sc)->core_mtx)
#define IXGBE_TX_UNLOCK(_sc) mutex_exit(&(_sc)->tx_mtx)
#define IXGBE_RX_UNLOCK(_sc) mutex_exit(&(_sc)->rx_mtx)
-#define IXGBE_CORE_LOCK_ASSERT(_sc) KASSERT(mutex_owned(&(_sc)->core_mtx)
+#define IXGBE_CORE_LOCK_ASSERT(_sc) KASSERT(mutex_owned(&(_sc)->core_mtx))
#define IXGBE_TX_LOCK_ASSERT(_sc) KASSERT(mutex_owned(&(_sc)->tx_mtx))