VirtualBox

Changeset 74754 in vbox for trunk


Ignore:
Timestamp:
Oct 11, 2018 9:21:09 AM (6 years ago)
Author:
vboxsync
Message:

DevSerial: Return error if uartR3Init fails.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Serial/DevSerial.cpp

    r73766 r74754  
    466466    rc = uartR3Init(&pThis->UartCore, pDevIns, enmUartType, 0,
    467467                    fYieldOnLSRRead ? UART_CORE_YIELD_ON_LSR_READ : 0, serialIrqReq, pfnSerialIrqReqR0, pfnSerialIrqReqRC);
     468    if (RT_FAILURE(rc))
     469        return rc;
    468470
    469471    serialR3Reset(pDevIns);
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