git: 3af858bd8f78 - stable/13 - riscv-busdma: Balance parens. Reported by: jenkins Fixes: c606ab59e7f9 vm_extern: use standard address checkers everywhere
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 12 Jul 2022 17:32:33 UTC
The branch stable/13 has been updated by dougm: URL: https://cgit.FreeBSD.org/src/commit/?id=3af858bd8f78560630427451c9e14b085d46dff2 commit 3af858bd8f78560630427451c9e14b085d46dff2 Author: Doug Moore <dougm@FreeBSD.org> AuthorDate: 2021-12-31 07:59:53 +0000 Commit: Doug Moore <dougm@FreeBSD.org> CommitDate: 2022-07-12 16:26:08 +0000 riscv-busdma: Balance parens. Reported by: jenkins Fixes: c606ab59e7f9 vm_extern: use standard address checkers everywhere (cherry picked from commit b4961268860857e7343f6e7342d34f6a621546d5) --- sys/riscv/riscv/busdma_machdep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/riscv/riscv/busdma_machdep.c b/sys/riscv/riscv/busdma_machdep.c index 8c249e41e5ea..5a80def489e9 100644 --- a/sys/riscv/riscv/busdma_machdep.c +++ b/sys/riscv/riscv/busdma_machdep.c @@ -102,7 +102,7 @@ bus_dma_run_filter(struct bus_dma_tag_common *tc, bus_addr_t paddr) retval = 0; do { if (((paddr > tc->lowaddr && paddr <= tc->highaddr) || - !vm_addr_align_ok(paddr, tc->alignment) && + !vm_addr_align_ok(paddr, tc->alignment)) && (tc->filter == NULL || (*tc->filter)(tc->filterarg, paddr) != 0)) retval = 1;