git: b7810e05ff1d - main - x86-busdma - Add missing paren
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 31 Dec 2021 08:34:53 UTC
The branch main has been updated by dougm: URL: https://cgit.FreeBSD.org/src/commit/?id=b7810e05ff1dc23c65ef74447556a764a6a60982 commit b7810e05ff1dc23c65ef74447556a764a6a60982 Author: Doug Moore <dougm@FreeBSD.org> AuthorDate: 2021-12-31 08:33:54 +0000 Commit: Doug Moore <dougm@FreeBSD.org> CommitDate: 2021-12-31 08:33:54 +0000 x86-busdma - Add missing paren Reported by: jenkins Fixes: c606ab59e7f9 vm_extern: use standard address checkers everywhere --- sys/x86/x86/busdma_machdep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/x86/x86/busdma_machdep.c b/sys/x86/x86/busdma_machdep.c index cd2fd4979d2c..ae62f83ea300 100644 --- a/sys/x86/x86/busdma_machdep.c +++ b/sys/x86/x86/busdma_machdep.c @@ -107,7 +107,7 @@ bus_dma_run_filter(struct bus_dma_tag_common *tc, vm_paddr_t paddr) do { if ((paddr >= BUS_SPACE_MAXADDR || (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;