git: 087d722624c7 - main - busdma_bounce: fix unused-function warning on powerpc
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 15 Aug 2026 15:53:35 UTC
The branch main has been updated by adrian:
URL: https://cgit.FreeBSD.org/src/commit/?id=087d722624c7293c2cbc5ab2bc1e20b6a68aae96
commit 087d722624c7293c2cbc5ab2bc1e20b6a68aae96
Author: Abdelkader Boudih <freebsd@seuros.com>
AuthorDate: 2026-08-15 15:52:51 +0000
Commit: Adrian Chadd <adrian@FreeBSD.org>
CommitDate: 2026-08-15 15:52:53 +0000
busdma_bounce: fix unused-function warning on powerpc
static inline, and powerpc's own must_bounce() never
calls it.
Reviewed by: adrian
Differential Revision: https://reviews.freebsd.org/D58825
---
sys/kern/subr_busdma_bounce.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/kern/subr_busdma_bounce.c b/sys/kern/subr_busdma_bounce.c
index bf9524c6eee5..793f8dbe951f 100644
--- a/sys/kern/subr_busdma_bounce.c
+++ b/sys/kern/subr_busdma_bounce.c
@@ -151,7 +151,7 @@ busdma_sysctl_tree_top(struct bounce_zone *bz)
* Returns true if the address falls within the tag's exclusion window, or
* fails to meet its alignment requirements.
*/
-static bool
+static inline bool
addr_needs_bounce(bus_dma_tag_t dmat, bus_addr_t paddr)
{