opnsense-src/sys/dev/irdma
Eric Joyner a6e275af46
irdma(4): Fix previous commit that broke build on amd64
Changing the printf specifier to %p fixed the build on powerpc64, but it
actually broke the amd64 build since the type of the value to be printed
is uint64_t on amd64.

Instead, keep the new %p specifier but cast the printed argument to a
uintptr_t and then to a void * in order for it to be valid type for
%p.

Signed-off-by: Eric Joyner <erj@FreeBSD.org>

Reported by:	jrtc27@
MFC after:	5 days
MFC-with:	e602a30bb9
Sponsored by:	Intel Corporation
2022-05-25 00:05:19 -07:00
..
fbsd_kcompat.c
fbsd_kcompat.h
ice_devids.h
icrdma.c irdma(4): Fix previous commit that broke build on amd64 2022-05-25 00:05:19 -07:00
icrdma_hw.c
icrdma_hw.h
irdma-abi.h
irdma.h
irdma_cm.c
irdma_cm.h
irdma_ctrl.c
irdma_defs.h
irdma_hmc.c
irdma_hmc.h
irdma_hw.c
irdma_kcompat.c
irdma_main.h
irdma_pble.c
irdma_pble.h
irdma_protos.h
irdma_puda.c
irdma_puda.h
irdma_type.h
irdma_uda.c
irdma_uda.h
irdma_uda_d.h
irdma_uk.c
irdma_user.h
irdma_utils.c
irdma_verbs.c
irdma_verbs.h
irdma_ws.c
irdma_ws.h
osdep.h