summaryrefslogtreecommitdiff
path: root/device/intr.c
diff options
context:
space:
mode:
authorMilos Nikic <nikic.milos@google.com>2025-06-24 00:58:44 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2025-06-24 15:10:03 +0200
commit4687a5fffa8bf611294dac3854a882c37b21f9ab (patch)
treef6e8644dfaeaea5533a49346e31eb34e206e7685 /device/intr.c
parent0bb929fab7a2689ec9ec1e55fe4765a54a39c46c (diff)
i386 kern: fix overflow in vm_object_print_part call
The call to vm_object_print_part was passing 0ULL and ~0ULL for offset and size, respectively. These values are 64-bit (unsigned long long), which causes compiler warnings when building for 32-bit platforms where vm_offset_t and vm_size_t are typedefs of uintptr_t (i.e., unsigned int). This patch replaces those constants with 0 and UINTPTR_MAX, which match the expected types and avoid implicit conversion or overflow warnings. No functional change. Message-ID: <20250623235844.763-1-nikic.milos@gmail.com>
Diffstat (limited to 'device/intr.c')
0 files changed, 0 insertions, 0 deletions