svn commit: r220234 - head/sys/dev/bxe

Pyun YongHyeon yongari at FreeBSD.org
Fri Apr 1 01:30:21 UTC 2011


Author: yongari
Date: Fri Apr  1 01:30:21 2011
New Revision: 220234
URL: http://svn.freebsd.org/changeset/base/220234

Log:
  Make bxe(4) build with BXE_DEBUG.

Modified:
  head/sys/dev/bxe/if_bxe.c

Modified: head/sys/dev/bxe/if_bxe.c
==============================================================================
--- head/sys/dev/bxe/if_bxe.c	Fri Apr  1 01:13:30 2011	(r220233)
+++ head/sys/dev/bxe/if_bxe.c	Fri Apr  1 01:30:21 2011	(r220234)
@@ -15740,7 +15740,7 @@ bxe_add_sysctls(struct bxe_softc *sc)
 	    CTLFLAG_RD, &sc->mbuf_alloc_failed, 0,
 	    "mbuf cluster allocation failures");
 
-	do() {
+	do {
 #define QUEUE_NAME_LEN 32
 		char namebuf[QUEUE_NAME_LEN];
 		struct sysctl_oid *queue_node;
@@ -15770,7 +15770,7 @@ bxe_add_sysctls(struct bxe_softc *sc)
 			    "Mbuf defrag successes");
 		}
 
-	}
+	} while (0);
 
 	SYSCTL_ADD_PROC(ctx, children, OID_AUTO, "driver_state",
 	    CTLTYPE_INT | CTLFLAG_RW, (void *)sc, 0,


More information about the svn-src-all mailing list