Changeset 91875 in vbox for trunk/src/VBox/Devices
- Timestamp:
- Oct 20, 2021 9:15:43 AM (3 years ago)
- svn:sync-xref-src-repo-rev:
- 147678
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/DrvSCSI.cpp
r91869 r91875 1327 1327 static DECLCALLBACK(int) drvscsiConstruct(PPDMDRVINS pDrvIns, PCFGMNODE pCfg, uint32_t fFlags) 1328 1328 { 1329 int rc = VINF_SUCCESS; 1329 RT_NOREF(pCfg); 1330 PDMDRV_CHECK_VERSIONS_RETURN(pDrvIns); 1330 1331 PDRVSCSI pThis = PDMINS_2_DATA(pDrvIns, PDRVSCSI); 1331 1332 LogFlowFunc(("pDrvIns=%#p pCfg=%#p\n", pDrvIns, pCfg)); 1332 PDMDRV_CHECK_VERSIONS_RETURN(pDrvIns);1333 1333 1334 1334 /* … … 1406 1406 { 1407 1407 /* Get The Led. */ 1408 rc = pThis->pLedPort->pfnQueryStatusLed(pThis->pLedPort, 0, &pThis->pLed);1408 int rc = pThis->pLedPort->pfnQueryStatusLed(pThis->pLedPort, 0, &pThis->pLed); 1409 1409 if (RT_FAILURE(rc)) 1410 1410 pThis->pLed = &pThis->Led; … … 1421 1421 * Try attach driver below and query it's media interface. 1422 1422 */ 1423 rc = PDMDrvHlpAttach(pDrvIns, fFlags, &pThis->pDrvBase);1423 int rc = PDMDrvHlpAttach(pDrvIns, fFlags, &pThis->pDrvBase); 1424 1424 if (RT_FAILURE(rc)) 1425 1425 return rc;
Note:
See TracChangeset
for help on using the changeset viewer.