Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci/ixgbe Add missing parenthesis in IXGBE_CORE_LOCK...
details: https://anonhg.NetBSD.org/src/rev/4a5c537f959d
branches: trunk
changeset: 336679:4a5c537f959d
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Tue Mar 10 08:54:17 2015 +0000
description:
Add missing parenthesis in IXGBE_CORE_LOCK_ASSERT() macro. No binary change.
diffstat:
sys/dev/pci/ixgbe/ixgbe.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r f168b5a07b9c -r 4a5c537f959d sys/dev/pci/ixgbe/ixgbe.h
--- a/sys/dev/pci/ixgbe/ixgbe.h Tue Mar 10 06:01:03 2015 +0000
+++ b/sys/dev/pci/ixgbe/ixgbe.h Tue Mar 10 08:54:17 2015 +0000
@@ -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 @@
#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))
Home |
Main Index |
Thread Index |
Old Index