git: caffcee1ad9f - stable/15 - busdma_bounce: fix unused-function warning on powerpc
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 01 Nov 2026 18:35:47 UTC
The branch stable/15 has been updated by seuros:
URL: https://cgit.FreeBSD.org/src/commit/?id=caffcee1ad9fbca36cb517c738125a10dad9bdb2
commit caffcee1ad9fbca36cb517c738125a10dad9bdb2
Author: Abdelkader Boudih <seuros@FreeBSD.org>
AuthorDate: 2026-08-15 15:52:51 +0000
Commit: Abdelkader Boudih <seuros@FreeBSD.org>
CommitDate: 2026-11-01 17:01:42 +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
(cherry picked from commit 087d722624c7293c2cbc5ab2bc1e20b6a68aae96)
---
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 60fe2fc6b2a6..67a95defa25a 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)
{