HomeFreeBSD

ntb: Use uintmax_t casts and %j to print physical addresses.

Description

ntb: Use uintmax_t casts and %j to print physical addresses.

This fixes -Wint-to-pointer-cast errors with GCC when compiling on
i386 where physical addresses are not the same size as pointers.

Reviewed by: mav, imp
Differential Revision: https://reviews.freebsd.org/D36751

Details

Provenance
jhbAuthored on Sep 28 2022, 8:56 PM
Reviewer
mav
Differential Revision
D36751: ntb: Use uintmax_t casts and %j to print physical addresses.
Parents
rG9bbed3f615f1: Mention telnetd removal
Branches
Unknown
Tags
Unknown