HomeFreeBSD

atomic: Fix the cast in the atomic_load_consume() interceptor

Description

atomic: Fix the cast in the atomic_load_consume() interceptor

As in commit c7a7e997d25d0, we should permit loading from a pointer to
uintptr_t.

Note that the other atomic_*_ptr() interfaces currently require casting
regardless, only those defined in atomic_common.h try to be generic.

Reported by: jrtc27
MFC after: 1 week

Details

Provenance
markjAuthored on Aug 28 2024, 7:25 PM
Parents
rG8254a276ad89: cxgbe/iw_cxgbe: Replace the fatal error flag with a stopped flag.
Branches
Unknown
Tags
Unknown