HomeFreeBSD

atomic: Avoid casting the return value of atomic_load_ptr to void *

Description

atomic: Avoid casting the return value of atomic_load_ptr to void *

Otherwise a cast is needed to load a uintptr_t value.

Fixes: e1f4d623779d ("rangelocks: remove unneeded cast of the atomic_load_ptr() result")
MFC after: 1 week

Details

Provenance
markjAuthored on Aug 28 2024, 6:51 PM
Parents
rG1e584ca30e3a: cxgbe(4): Export the core suspend/resume functionality to other modules.
Branches
Unknown
Tags
Unknown