mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-25 05:24:02 +08:00
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:
committed by
Compute-Runtime-Automation
parent
95505d87a5
commit
b2c80be6f9
@@ -33,7 +33,7 @@ struct PhysicalDevicePciBusInfo {
|
||||
uint32_t pciFunction = invalidValue;
|
||||
};
|
||||
|
||||
struct PhyicalDevicePciSpeedInfo {
|
||||
struct PhysicalDevicePciSpeedInfo {
|
||||
static constexpr int32_t unknown = -1;
|
||||
int32_t genVersion = unknown;
|
||||
int32_t width = unknown;
|
||||
|
||||
Reference in New Issue
Block a user