diff options
| author | Joshua Bakita <jbakita@cs.unc.edu> | 2025-10-01 11:54:47 -0400 |
|---|---|---|
| committer | Joshua Bakita <jbakita@cs.unc.edu> | 2025-10-01 11:54:47 -0400 |
| commit | b4a937788cead345f8f00419bd250d1d92b0290f (patch) | |
| tree | 231d2d817c89550f744ba1e993700566c1612557 /stubs.h | |
| parent | 217aaa952fb812bfdce62402cfab959910ea7265 (diff) | |
Fix build warnings and errors on Linux 6.14ecrts25-ae
- Remove repetitive declarations of two `bus_type` structs.
- Fix mmu.c to use an always-64-bit member for `parent_addr`.
- Remove call to `page_mapcount_reset()` that isn't needed.
- Correct `nvdebug_pd_page` documentation.
- Disable missing prototype and missing declaration warnings.
- Fix an improper type, and a missing type conversion.
Tested build on Linux 6.14.0 (x86_64), 5.4.0 (x86_64), and
4.9.337 (aarch64).
Diffstat (limited to 'stubs.h')
| -rw-r--r-- | stubs.h | 1 |
1 files changed, 0 insertions, 1 deletions
| @@ -29,7 +29,6 @@ pci_match_one_device(const struct pci_device_id *id, const struct pci_dev *dev) | |||
| 29 | // Functions from drivers/pci/search.h | 29 | // Functions from drivers/pci/search.h |
| 30 | #include <linux/device.h> | 30 | #include <linux/device.h> |
| 31 | #include <linux/pci.h> | 31 | #include <linux/pci.h> |
| 32 | extern struct bus_type pci_bus_type; | ||
| 33 | 32 | ||
| 34 | #if LINUX_VERSION_CODE < KERNEL_VERSION(5,3,0) | 33 | #if LINUX_VERSION_CODE < KERNEL_VERSION(5,3,0) |
| 35 | static int match_pci_dev_by_id(struct device *dev, void *data) | 34 | static int match_pci_dev_by_id(struct device *dev, void *data) |
