VirtualBox

Changeset 84354 in vbox for trunk/src/VBox/Devices


Ignore:
Timestamp:
May 19, 2020 6:16:04 AM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
138043
Message:

Fix burns

Location:
trunk/src/VBox/Devices
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Storage/DevVirtioSCSI.cpp

    r84351 r84354  
    16221622*********************************************************************************************************************************/
    16231623
     1624/* @todo Figure out how to implement this with R0 changes. Not used by current linux driver */
     1625#if 0
    16241626DECLINLINE(void) virtioScsiR3ReportEventsMissed(PPDMDEVINS pDevIns, PVIRTIOSCSI pThis, uint16_t uTarget)
    16251627{
    16261628    virtioScsiR3SendEvent(pDevIns, pThis, uTarget, VIRTIOSCSI_T_NO_EVENT | VIRTIOSCSI_T_EVENTS_MISSED, 0);
    16271629}
    1628 
     1630#endif
    16291631
    16301632#if 0
  • trunk/src/VBox/Devices/VirtIO/Virtio_1_0.cpp

    r84353 r84354  
    21442144     *  out size, so pad with an extra page
    21452145     */
    2146     int cbSize = RTStrPrintf(pVirtioCC->pcszMmioName, sizeof(pVirtioCC->pcszMmioName), "%s MMIO", pcszInstance);
     2146    size_t cbSize = RTStrPrintf(pVirtioCC->pcszMmioName, sizeof(pVirtioCC->pcszMmioName), "%s MMIO", pcszInstance);
    21472147    if (cbSize <= 0)
    21482148        return PDMDEV_SET_ERROR(pDevIns, rc, N_("virtio: out of memory allocating string")); /* can we put params in this error? */
Note: See TracChangeset for help on using the changeset viewer.

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