Kernel/PCI: Don't cast a domain number to u16

Found by Tom (tomuta) during a debug session of these changes.
This commit is contained in:
Liav A 2022-01-15 21:02:30 +02:00 committed by Idan Horowitz
parent b2c6206adb
commit 667a009cd7
Notes: sideshowbarker 2024-07-17 20:38:39 +09:00

View file

@ -184,7 +184,7 @@ public:
return !(*this == other);
}
u16 domain() const { return m_domain; }
u32 domain() const { return m_domain; }
u8 bus() const { return m_bus; }
u8 device() const { return m_device; }
u8 function() const { return m_function; }