VirtualBox

Changeset 25986 in vbox for trunk/src/VBox/Devices/Network


Ignore:
Timestamp:
Jan 23, 2010 1:32:03 AM (15 years ago)
Author:
vboxsync
Message:

pdmifs.h: cleaned out the remaining references to PDMINTERFACE. (assertion texts mostly)

Location:
trunk/src/VBox/Devices/Network
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/DevE1000.cpp

    r25985 r25986  
    50705070        }
    50715071        pState->pDrv = PDMIBASE_QUERY_INTERFACE(pState->pDrvBase, PDMINETWORKCONNECTOR);
    5072         if (!pState->pDrv)
    5073         {
    5074             AssertMsgFailed(("%s Failed to obtain the PDMINTERFACE_NETWORK_CONNECTOR interface!\n"));
    5075             return VERR_PDM_MISSING_INTERFACE_BELOW;
    5076         }
     5072        AssertMsgReturn(pState->pDrv, ("Failed to obtain the PDMINETWORKCONNECTOR interface!\n"),
     5073                        VERR_PDM_MISSING_INTERFACE_BELOW);
    50775074    }
    50785075    else if (rc == VERR_PDM_NO_ATTACHED_DRIVER)
     
    52875284        }
    52885285        pState->pDrv = PDMIBASE_QUERY_INTERFACE(pState->pDrvBase, PDMINETWORKCONNECTOR);
    5289         if (!pState->pDrv)
    5290         {
    5291             AssertMsgFailed(("Failed to obtain the PDMINTERFACE_NETWORK_CONNECTOR interface!\n"));
    5292             rc = VERR_PDM_MISSING_INTERFACE_BELOW;
    5293         }
     5286        AssertMsgStmt(pState->pDrv, ("Failed to obtain the PDMINETWORKCONNECTOR interface!\n"),
     5287                      rc = VERR_PDM_MISSING_INTERFACE_BELOW);
    52945288    }
    52955289    else if (rc == VERR_PDM_NO_ATTACHED_DRIVER)
  • trunk/src/VBox/Devices/Network/DevINIP.cpp

    r25985 r25986  
    531531        if (!pThis->pDrv)
    532532        {
    533             AssertMsgFailed(("Failed to obtain the PDMINTERFACE_NETWORK_CONNECTOR interface!\n"));
     533            AssertMsgFailed(("Failed to obtain the PDMINETWORKCONNECTOR interface!\n"));
    534534            rc = VERR_PDM_MISSING_INTERFACE_BELOW;
    535535            goto out;
  • trunk/src/VBox/Devices/Network/DevPCNet.cpp

    r25985 r25986  
    48214821        }
    48224822        pThis->pDrv = PDMIBASE_QUERY_INTERFACE(pThis->pDrvBase, PDMINETWORKCONNECTOR);
    4823         if (!pThis->pDrv)
    4824         {
    4825             AssertMsgFailed(("Failed to obtain the PDMINTERFACE_NETWORK_CONNECTOR interface!\n"));
    4826             rc = VERR_PDM_MISSING_INTERFACE_BELOW;
    4827         }
     4823        AssertMsgStmt(pThis->pDrv, ("Failed to obtain the PDMINETWORKCONNECTOR interface!\n"),
     4824                      rc = VERR_PDM_MISSING_INTERFACE_BELOW);
    48284825    }
    48294826    else if (rc == VERR_PDM_NO_ATTACHED_DRIVER)
     
    52135210        }
    52145211        pThis->pDrv = PDMIBASE_QUERY_INTERFACE(pThis->pDrvBase, PDMINETWORKCONNECTOR);
    5215         if (!pThis->pDrv)
    5216         {
    5217             AssertMsgFailed(("Failed to obtain the PDMINTERFACE_NETWORK_CONNECTOR interface!\n"));
    5218             return VERR_PDM_MISSING_INTERFACE_BELOW;
    5219         }
     5212        AssertMsgReturn(pThis->pDrv, ("Failed to obtain the PDMINETWORKCONNECTOR interface!\n"),
     5213                        VERR_PDM_MISSING_INTERFACE_BELOW);
    52205214    }
    52215215    else if (rc == VERR_PDM_NO_ATTACHED_DRIVER)
  • trunk/src/VBox/Devices/Network/DevVirtioNet.cpp

    r25981 r25986  
    15631563        }
    15641564        pState->pDrv = PDMIBASE_QUERY_INTERFACE(pState->pDrvBase, PDMINETWORKCONNECTOR);
    1565         if (!pState->pDrv)
    1566         {
    1567             AssertMsgFailed(("%s Failed to obtain the PDMINTERFACE_NETWORK_CONNECTOR interface!\n"));
    1568             return VERR_PDM_MISSING_INTERFACE_BELOW;
    1569         }
     1565        AssertMsgReturn(pState->pDrv, ("Failed to obtain the PDMINETWORKCONNECTOR interface!\n"),
     1566                        VERR_PDM_MISSING_INTERFACE_BELOW);
    15701567    }
    15711568    else if (rc == VERR_PDM_NO_ATTACHED_DRIVER)
     
    17441741        }
    17451742        pState->pDrv = PDMIBASE_QUERY_INTERFACE(pState->pDrvBase, PDMINETWORKCONNECTOR);
    1746         if (!pState->pDrv)
    1747         {
    1748             AssertMsgFailed(("Failed to obtain the PDMINTERFACE_NETWORK_CONNECTOR interface!\n"));
    1749             rc = VERR_PDM_MISSING_INTERFACE_BELOW;
    1750         }
     1743        AssertMsgStmt(pState->pDrv, ("Failed to obtain the PDMINETWORKCONNECTOR interface!\n"),
     1744                      rc = VERR_PDM_MISSING_INTERFACE_BELOW);
    17511745    }
    17521746    else if (rc == VERR_PDM_NO_ATTACHED_DRIVER)
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette