VirtualBox

Changeset 82126 in vbox


Ignore:
Timestamp:
Nov 23, 2019 8:23:46 AM (5 years ago)
Author:
vboxsync
Message:

DevParallel: VBOXSTRICTRC+AssertRC fixes. +T bugref:9218

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Parallel/DevParallel.cpp

    r82125 r82126  
    345345                    LogFlowFunc(("Set data lines 0x%X\n", u8));
    346346                    rc = pThisCC->pDrvHostParallelConnector->pfnWrite(pThisCC->pDrvHostParallelConnector, &u8, 1, PDM_PARALLEL_PORT_MODE_SPP);
    347                     AssertRC(VBOXSTRICRC_VAL(rc));
     347                    AssertRC(VBOXSTRICTRC_VAL(rc));
    348348                }
    349349#endif
     
    366366                        else
    367367                            rc = pThisCC->pDrvHostParallelConnector->pfnSetPortDirection(pThisCC->pDrvHostParallelConnector, true /* fForward */);
    368                         AssertRC(VBOXSTRICRC_VAL(rc));
     368                        AssertRC(VBOXSTRICTRC_VAL(rc));
    369369
    370370                        u8 &= ~LPT_CONTROL_ENABLE_BIDIRECT; /* Clear bit. */
    371371
    372372                        rc = pThisCC->pDrvHostParallelConnector->pfnWriteControl(pThisCC->pDrvHostParallelConnector, u8);
    373                         AssertRC(VBOXSTRICRC_VAL(rc));
     373                        AssertRC(VBOXSTRICTRC_VAL(rc));
    374374                    }
    375375                    else
     
    390390                    LogFlowFunc(("Write EPP address 0x%X\n", u8));
    391391                    rc = pThisCC->pDrvHostParallelConnector->pfnWrite(pThisCC->pDrvHostParallelConnector, &u8, 1, PDM_PARALLEL_PORT_MODE_EPP_ADDR);
    392                     AssertRC(VBOXSTRICRC_VAL(rc));
     392                    AssertRC(VBOXSTRICTRC_VAL(rc));
    393393                }
    394394#endif
     
    404404                    LogFlowFunc(("Write EPP data 0x%X\n", u8));
    405405                    rc = pThisCC->pDrvHostParallelConnector->pfnWrite(pThisCC->pDrvHostParallelConnector, &u8, 1, PDM_PARALLEL_PORT_MODE_EPP_DATA);
    406                     AssertRC(VBOXSTRICRC_VAL(rc));
     406                    AssertRC(VBOXSTRICTRC_VAL(rc));
    407407                }
    408408#endif
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