Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F115646607
D50008.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
556 B
Referenced Files
None
Subscribers
None
D50008.id.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Sun, Apr 27, 12:28 PM (28 m, 34 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17786812
Default Alt Text
D50008.id.diff (556 B)
Attached To
Mode
D50008: LinuxKPI: pci: properly define PCI_ANY_ID
Attached
Detach File
Event Timeline
Log In to Comment