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 /Makefile | |
| 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 'Makefile')
| -rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -1,7 +1,8 @@ | |||
| 1 | obj-m += nvdebug.o | 1 | obj-m += nvdebug.o |
| 2 | nvdebug-objs = runlist_procfs.o device_info_procfs.o runlist.o mmu.o \ | 2 | nvdebug-objs = runlist_procfs.o device_info_procfs.o runlist.o mmu.o \ |
| 3 | nvdebug_entry.o bus.o nvdebug_linux.o copy_topology_procfs.o | 3 | nvdebug_entry.o bus.o nvdebug_linux.o copy_topology_procfs.o |
| 4 | KBUILD_CFLAGS += -DGIT_HASH=\"$(shell git --git-dir=$(PWD)/.git rev-parse --short HEAD)\" | 4 | KBUILD_CFLAGS += -DGIT_HASH=\"$(shell git --git-dir=$(PWD)/.git rev-parse --short HEAD)\" \ |
| 5 | -Wno-missing-prototypes -Wno-missing-declarations | ||
| 5 | # -mfentry above if not building due to mcount missing | 6 | # -mfentry above if not building due to mcount missing |
| 6 | 7 | ||
| 7 | all: | 8 | all: |
