Date: Fri, 31 Dec 2021 08:02:10 GMT From: Doug Moore <dougm@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: b49612688608 - main - riscv-busdma: Balance parens. Reported by: jenkins Fixes: c606ab59e7f9 vm_extern: use standard address checkers everywhere Message-ID: <202112310802.1BV82AEq029807@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by dougm: URL: https://cgit.FreeBSD.org/src/commit/?id=b4961268860857e7343f6e7342d34f6a621546d5 commit b4961268860857e7343f6e7342d34f6a621546d5 Author: Doug Moore <dougm@FreeBSD.org> AuthorDate: 2021-12-31 07:59:53 +0000 Commit: Doug Moore <dougm@FreeBSD.org> CommitDate: 2021-12-31 08:01:58 +0000 riscv-busdma: Balance parens. Reported by: jenkins Fixes: c606ab59e7f9 vm_extern: use standard address checkers everywhere --- 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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202112310802.1BV82AEq029807>