Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Jun 2008 19:42:27 GMT
From:      Marko Zec <zec@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 143710 for review
Message-ID:  <200806181942.m5IJgR1O099879@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=143710

Change 143710 by zec@zec_tpx32 on 2008/06/18 19:41:39

	Unbreak nooptions DIAGNOSTIC builds, and more WS cleanup.

Affected files ...

.. //depot/projects/vimage/src/sys/net/if.c#27 edit
.. //depot/projects/vimage/src/sys/net/if_clone.c#7 edit

Differences ...

==== //depot/projects/vimage/src/sys/net/if.c#27 (text+ko) ====

@@ -2602,7 +2602,9 @@
 void
 if_delmulti_ifma(struct ifmultiaddr *ifma)
 {
+#ifdef DIAGNOSTIC
 	INIT_VNET_NET(curvnet);
+#endif
 	struct ifnet *ifp;
 	int lastref;
 
@@ -2883,6 +2885,7 @@
 if_register_com_alloc(u_char type,
     if_com_alloc_t *a, if_com_free_t *f)
 {
+
 	KASSERT(if_com_alloc[type] == NULL,
 	    ("if_register_com_alloc: %d already registered", type));
 	KASSERT(if_com_free[type] == NULL,
@@ -2895,6 +2898,7 @@
 void
 if_deregister_com_alloc(u_char type)
 {
+
 	KASSERT(if_com_alloc[type] != NULL,
 	    ("if_deregister_com_alloc: %d not registered", type));
 	KASSERT(if_com_free[type] != NULL,

==== //depot/projects/vimage/src/sys/net/if_clone.c#7 (text+ko) ====

@@ -470,6 +470,7 @@
 #ifndef VIMAGE
 	int bytoff, bitoff;
 
+
 	/*
 	 * Compute offset in the bitmap and deallocate the unit.
 	 */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200806181942.m5IJgR1O099879>