aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJoshua Bakita <jbakita@cs.unc.edu>2025-10-01 11:54:47 -0400
committerJoshua Bakita <jbakita@cs.unc.edu>2025-10-01 11:54:47 -0400
commitb4a937788cead345f8f00419bd250d1d92b0290f (patch)
tree231d2d817c89550f744ba1e993700566c1612557 /Makefile
parent217aaa952fb812bfdce62402cfab959910ea7265 (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--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9d6d374..e7b160c 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,8 @@
1obj-m += nvdebug.o 1obj-m += nvdebug.o
2nvdebug-objs = runlist_procfs.o device_info_procfs.o runlist.o mmu.o \ 2nvdebug-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
4KBUILD_CFLAGS += -DGIT_HASH=\"$(shell git --git-dir=$(PWD)/.git rev-parse --short HEAD)\" 4KBUILD_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
7all: 8all: