HomeFreeBSD

iwx: Fix 32-bit compilation

Description

iwx: Fix 32-bit compilation

  • Avoid shifts wider than integer types, by wrapping the corresponding checks into '#if SIZEOF_SIZE_T > 32' blocks. 'bus_addr_t' currently has the same width as 'size_t' on all architectures (and this is not going to change for 32-bit architectures).
  • Use appropriate printf(3) format for 'wk_keytsc'.

Reviewed by: adrian
MFC after: 1 minute
MFC to: stable/15
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D55667

Details

Provenance
olceAuthored on Mar 5 2026, 12:31 PM
Reviewer
adrian
Differential Revision
D55667: iwx: Fix 32-bit compilation
Parents
rG9cea0f0be79d: bsd.linker.mk: Retire support for binutils 2.17.50
Branches
Unknown
Tags
Unknown