PERFORCE change 143710 for review

Marko Zec zec at FreeBSD.org
Wed Jun 18 19:42:28 UTC 2008


http://perforce.freebsd.org/chv.cgi?CH=143710

Change 143710 by zec at 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.
 	 */


More information about the p4-projects mailing list