Hello,
  'g_bus_filters' is defined as ' extern bus_filter_t 
g_bus_filters[MAX_BUS_FILTERS]' hence the '&' operator is unnecessary and 
misleading.
Remove the unnecessary '&' operator.

Signed-off-by: stan smith <[email protected]>

--- core/bus/kernel/bus_driver.c        Mon Jul 11 16:22:10 2011
+++ core/bus/kernel/bus_driver.c        Wed Jun 29 15:26:49 2011
@@ -1086,7 +1086,7 @@
 
        KeInitializeEvent(&g_ControlEvent, SynchronizationEvent, TRUE);
        g_bfi_InstanceCount = 0;
-       memset( (void*)&g_bus_filters, 0, sizeof(g_bus_filters) );
+       memset( (void*)g_bus_filters, 0, sizeof(g_bus_filters) );
        
        BUS_TRACE_EXIT( BUS_DBG_DRV, 
                ("=====> IBBUS: Driver exited\n") );

_______________________________________________
ofw mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ofw

Reply via email to