From cbc331d153cf07ab73217666cfd045d28b31bc00 Mon Sep 17 00:00:00 2001 From: Adrian Chadd Date: Tue, 31 Dec 2024 14:45:52 -0800 Subject: [PATCH] rtwn: fix builds on non-x86 platforms The powerpcspe build is spitting out uint64_t != unsigned long, so this fails. Comment out the logging for now to unbreak the build. --- sys/dev/rtwn/rtl8188e/r88e_rx.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/dev/rtwn/rtl8188e/r88e_rx.c b/sys/dev/rtwn/rtl8188e/r88e_rx.c index 2ff0ee4dae0..7ea7b2f9e49 100644 --- a/sys/dev/rtwn/rtl8188e/r88e_rx.c +++ b/sys/dev/rtwn/rtl8188e/r88e_rx.c @@ -257,8 +257,10 @@ r88e_ratectl_tx_complete_periodic(struct rtwn_softc *sc, uint8_t *buf, mac_bitmap = ((uint64_t) le32toh(rxs->tsf_low) << 32) | le32toh(rxs->rxdw4); +#if 0 RTWN_DPRINTF(sc, RTWN_DEBUG_RA, "%s: mac bitmap: 0x%lx\n", __func__, mac_bitmap); +#endif /* * Note: the RX reports aren't sparse - invalid entries (ie,