Fix typo and error check when retrieving pci information

Fix
1. typo PhysialDevicePciSpeedInfo to PhysicalDevicePciSpeedInfo
2. error check to verify open() call

Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
This commit is contained in:
Joshua Santosh Ranjan
2022-10-14 13:02:37 +00:00
committed by Compute-Runtime-Automation
parent 95505d87a5
commit b2c80be6f9
15 changed files with 50 additions and 38 deletions

View File

@@ -288,7 +288,7 @@ TEST_F(DeviceGetCapsTest, whenDriverModelHasLimitationForMaxMemoryAllocationSize
size_t getMaxMemAllocSize() const override {
return maxAllocSize;
}
PhyicalDevicePciSpeedInfo getPciSpeedInfo() const override { return {}; }
PhysicalDevicePciSpeedInfo getPciSpeedInfo() const override { return {}; }
};
DebugManagerStateRestore dbgRestorer;