VirtualBox

Changeset 88998 in vbox for trunk/src/VBox/Devices/Bus


Ignore:
Timestamp:
May 12, 2021 6:56:32 AM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
144336
Message:

AMD IOMMU: bugref:9654 Nit, use RTStrCmp which checks for NULL.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Bus/DevIommuAmd.cpp

    r88840 r88998  
    53515351    PDMPCIDEV_ASSERT_VALID(pDevIns, pPciDev);
    53525352
    5353     bool fVerbose;
    5354     if (   pszArgs
    5355         && !strncmp(pszArgs, RT_STR_TUPLE("verbose")))
    5356         fVerbose = true;
    5357     else
    5358         fVerbose = false;
     5353    bool const fVerbose = RTStrCmp(pszArgs, "verbose") == 0;
    53595354
    53605355    pHlp->pfnPrintf(pHlp, "AMD-IOMMU:\n");
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