VirtualBox

Ignore:
Timestamp:
Aug 23, 2021 10:27:29 AM (3 years ago)
Author:
vboxsync
Message:

IPRT: More VALID_PTR -> RT_VALID_PTR/AssertPtr.

Location:
trunk/src/VBox/Runtime/r3/solaris
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/solaris/fileaio-solaris.cpp

    r82968 r90789  
    237237         * completion port.
    238238         */
    239         AssertMsg(VALID_PTR(pReqInt->pCtxInt),
    240                   ("Invalid state. Request was canceled but wasn't submitted\n"));
     239        AssertMsg(RT_VALID_PTR(pReqInt->pCtxInt), ("Invalid state. Request was canceled but wasn't submitted\n"));
    241240
    242241        ASMAtomicDecS32(&pReqInt->pCtxInt->cRequests);
  • trunk/src/VBox/Runtime/r3/solaris/krnlmod-solaris.cpp

    r86301 r90789  
    196196                                        uint32_t *pcEntries)
    197197{
    198     AssertReturn(VALID_PTR(pahKrnlModInfo) || cEntriesMax == 0, VERR_INVALID_PARAMETER);
     198    AssertPtrReturn(pahKrnlModInfo, VERR_INVALID_POINTER);
     199    AssertReturn(cEntriesMax == 0, VERR_INVALID_PARAMETER);
    199200
    200201    uint32_t cKmodsLoaded = RTKrnlModLoadedGetCount();
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