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 /nvdebug.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 'nvdebug.h')
| -rw-r--r-- | nvdebug.h | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -1620,7 +1620,7 @@ static inline const char *compute_preempt_type_to_text(enum COMPUTE_PREEMPT_TYPE | |||
| 1620 | return "INVALID"; | 1620 | return "INVALID"; |
| 1621 | } | 1621 | } |
| 1622 | } | 1622 | } |
| 1623 | static inline const char *graphics_preempt_type_to_text(enum COMPUTE_PREEMPT_TYPE t) { | 1623 | static inline const char *graphics_preempt_type_to_text(enum GRAPHICS_PREEMPT_TYPE t) { |
| 1624 | switch (t) { | 1624 | switch (t) { |
| 1625 | case PREEMPT_WFI: | 1625 | case PREEMPT_WFI: |
| 1626 | return "WFI"; | 1626 | return "WFI"; |
