VirtualBox

Changeset 104589 in vbox


Ignore:
Timestamp:
May 13, 2024 12:14:37 PM (7 months ago)
Author:
vboxsync
Message:

Devices/Gpio/DrvGpioButton.cpp: Return an error if creating the button depress timer fails, bugref:3409

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Gpio/DrvGpioButton.cpp

    r101624 r104589  
    238238                                TMTIMER_FLAGS_NO_CRIT_SECT | TMTIMER_FLAGS_NO_RING0,
    239239                                "Button depress timer", &pThis->hTimerDepress);
     240    if (RT_FAILURE(rc))
     241        return PDMDRV_SET_ERROR(pDrvIns, rc,
     242                                N_("Failed to create button depress timer"));
    240243
    241244    return VINF_SUCCESS;
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