VirtualBox

Changeset 107492 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Jan 8, 2025 10:14:39 AM (6 weeks ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
166551
Message:

Main/src-client/ConsoleImplArmV8.cpp: Missing error checks, bugref:3409

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/ConsoleImplConfigArmV8.cpp

    r107267 r107492  
    283283        vrc = RTFdtNodePropertyAddEmpty(   hFdt, "always-on");                              VRC();
    284284        vrc = RTFdtNodePropertyAddString(  hFdt, "compatible",       "arm,armv8-timer");    VRC();
    285         vrc = RTFdtNodeFinalize(hFdt);
     285        vrc = RTFdtNodeFinalize(hFdt);                                                      VRC();
    286286
    287287        vrc = RTFdtNodeAdd(hFdt, "apb-clk");                                                VRC();
     
    291291        vrc = RTFdtNodePropertyAddU32(     hFdt, "#clock-cells",       0);                  VRC();
    292292        vrc = RTFdtNodePropertyAddString(  hFdt, "compatible",         "fixed-clock");      VRC();
    293         vrc = RTFdtNodeFinalize(hFdt);
     293        vrc = RTFdtNodeFinalize(hFdt);                                                      VRC();
    294294
    295295        if (pSysTblsBldAcpi)
     
    773773        vrc = RTFdtNodePropertyAddU32(     hFdt, "linux,code", 0xcd);                       VRC();
    774774        vrc = RTFdtNodePropertyAddString(  hFdt, "label",      "GPIO Key Suspend");         VRC();
    775         vrc = RTFdtNodeFinalize(hFdt);
     775        vrc = RTFdtNodeFinalize(hFdt);                                                      VRC();
    776776
    777777        vrc = RTFdtNodeFinalize(hFdt);                                                      VRC();
     
    855855        }
    856856
    857         vrc = RTFdtNodePropertyAddCellsU32AsArray(hFdt, "interrupt-map", RT_ELEMENTS(aIrqCells), &aIrqCells[0]);
     857        vrc = RTFdtNodePropertyAddCellsU32AsArray(hFdt, "interrupt-map", RT_ELEMENTS(aIrqCells), &aIrqCells[0]); VRC();
    858858        vrc = RTFdtNodePropertyAddU32(     hFdt, "#interrupt-cells", 1);                        VRC();
    859859        vrc = RTFdtNodePropertyAddCellsU32(hFdt, "ranges", 21,
     
    961961        vrc = mptrExtPackManager->i_callAllVmConfigureVmmHooks(this, pVM, pVMM);
    962962        pAlock->acquire();
     963        AssertRCReturnStmt(vrc, RTFdtDestroy(hFdt), vrc);
    963964    }
    964965#endif
     
    10681069    vrc = RTVfsIoStrmWrite(hVfsIosDesc, &ArmV8Platform, sizeof(ArmV8Platform), true /*fBlocking*/, NULL /*pcbWritten*/);
    10691070    RTVfsIoStrmRelease(hVfsIosDesc);
     1071    AssertRCReturnStmt(vrc, RTVfsFileRelease(hVfsFileDesc), vrc);
     1072
    10701073    vrc = mptrResourceStore->i_addItem("resources", "VBoxArmV8Desc", hVfsFileDesc);
    10711074    RTVfsFileRelease(hVfsFileDesc);
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