git: 087d722624c7 - main - busdma_bounce: fix unused-function warning on powerpc
Adrian Chadd <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.cvs.src |
|---|---|
| Message-ID | <6a808b7f.1c7d4.4484d3fa__37867.1652216994$1786809301$gmane$org@gitrepo.freebsd.org> |
The branch main has been updated by adrian: URL: https://cgit.FreeBSD.org/src/commit/?id=087d722624c7293c2cbc5ab2bc1e20b6a68aae96 commit 087d722624c7293c2cbc5ab2bc1e20b6a68aae96 Author: Abdelkader Boudih <[email protected]> AuthorDate: 2026-08-15 15:52:51 +0000 Commit: Adrian Chadd <[email protected]> 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) {