[IBBUS] white-space alignment & comment line trim. Leo OK'ed, signed off by stan...
authorstansmith <stansmith@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Tue, 12 May 2009 23:46:59 +0000 (23:46 +0000)
committerstansmith <stansmith@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Tue, 12 May 2009 23:46:59 +0000 (23:46 +0000)
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@2179 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

core/bus/kernel/bus_driver.c
core/bus/kernel/bus_port_mgr.c

index a59d528..3a18017 100644 (file)
@@ -1078,14 +1078,14 @@ DriverEntry(
                        /* failure is OK - retry in bus_add_device() */\r
                }\r
                else {\r
-                               p_ext = g_ControlDeviceObject->DeviceExtension;\r
-                               RtlZeroMemory(p_ext, sizeof *p_ext);\r
-                               cl_init_pnp_po_ext( g_ControlDeviceObject, NULL, \r
-                                       NULL, bus_globals.dbg_lvl, NULL, NULL );\r
-                               IoInitializeRemoveLock( &p_ext->cl_ext.stop_lock, 'dtci', 0, 1000 );\r
-                       }\r
+                       p_ext = g_ControlDeviceObject->DeviceExtension;\r
+                       RtlZeroMemory(p_ext, sizeof *p_ext);\r
+                       cl_init_pnp_po_ext( g_ControlDeviceObject, NULL, \r
+                                                               NULL, bus_globals.dbg_lvl, NULL, NULL );\r
+                       IoInitializeRemoveLock( &p_ext->cl_ext.stop_lock, 'dtci', 0, 1000 );\r
                }\r
-       \r
+       }\r
+\r
        BUS_EXIT( BUS_DBG_DRV );\r
        return STATUS_SUCCESS;\r
 }\r
index 5e410c9..9663f55 100644 (file)
@@ -421,12 +421,12 @@ free_port_mgr(
                        deref_al_obj( &p_ext->h_ca->obj );\r
                }\r
 \r
-                       BUS_TRACE( BUS_DBG_PNP, ("%s Deleted device %s: PDO %p, ext %p\n",\r
+               BUS_TRACE( BUS_DBG_PNP, ("%s Deleted device %s: PDO %p, ext %p\n",\r
                                                p_bfi->whoami, p_ext->cl_ext.vfptr_pnp_po->identity,\r
                                                p_ext->cl_ext.p_self_do, p_ext ) );\r
 \r
-                       IoDeleteDevice( p_ext->cl_ext.p_self_do );\r
-               }\r
+               IoDeleteDevice( p_ext->cl_ext.p_self_do );\r
+       }\r
 \r
        cl_mutex_destroy( &p_port_mgr->pdo_mutex );\r
        cl_obj_deinit( p_obj );\r
@@ -1275,9 +1275,11 @@ hca_deref:
 \r
        deref_al_obj( &p_ext->h_ca->obj );\r
        \r
-       //      Setting h_ca to be NULL forces IPoIB to start only after re-acquiring new CA object\r
-       // The latter happens in __port_was_hibernated or port_mgr_port_add functions \r
-       // after arriving IB_PNP_PORT_ADD event from IBAL\r
+       /* Setting h_ca to be NULL forces IPoIB to start only after re-acquiring\r
+        * new CA object. The latter happens in __port_was_hibernated or\r
+        * port_mgr_port_add functions  after arriving IB_PNP_PORT_ADD event\r
+        * from IBAL.\r
+        */\r
        p_ext->h_ca = NULL;\r
 \r
        p_pdo_list = &p_port_mgr->port_list;\r