Page MenuHomeFreeBSD

D50008.diff
No OneTemporary

D50008.diff

diff --git a/sys/compat/linuxkpi/common/include/linux/pci.h b/sys/compat/linuxkpi/common/include/linux/pci.h
--- a/sys/compat/linuxkpi/common/include/linux/pci.h
+++ b/sys/compat/linuxkpi/common/include/linux/pci.h
@@ -91,7 +91,7 @@
MODULE_PNP_INFO("U32:vendor;U32:device;V32:subvendor;V32:subdevice", \
_bus, lkpi_ ## _table, _table, nitems(_table) - 1)
-#define PCI_ANY_ID -1U
+#define PCI_ANY_ID ((uint16_t)-1U)
#define PCI_DEVFN(slot, func) ((((slot) & 0x1f) << 3) | ((func) & 0x07))
#define PCI_SLOT(devfn) (((devfn) >> 3) & 0x1f)

File Metadata

Mime Type
text/plain
Expires
Mon, Aug 24, 11:14 AM (16 h, 49 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37182301
Default Alt Text
D50008.diff (556 B)

Event Timeline