git: cbc331d153cf - main - rtwn: fix builds on non-x86 platforms
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 31 Dec 2024 22:46:42 UTC
The branch main has been updated by adrian:
URL: https://cgit.FreeBSD.org/src/commit/?id=cbc331d153cf07ab73217666cfd045d28b31bc00
commit cbc331d153cf07ab73217666cfd045d28b31bc00
Author: Adrian Chadd <adrian@FreeBSD.org>
AuthorDate: 2024-12-31 22:45:52 +0000
Commit: Adrian Chadd <adrian@FreeBSD.org>
CommitDate: 2024-12-31 22:45:52 +0000
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 2ff0ee4dae00..7ea7b2f9e496 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,