git: ab0f2ae2eeda - stable/13 - x86-busdma - Add missing paren
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 12 Jul 2022 17:32:34 UTC
The branch stable/13 has been updated by dougm:
URL: https://cgit.FreeBSD.org/src/commit/?id=ab0f2ae2eeda728b53375c81e896f89e7b9f0262
commit ab0f2ae2eeda728b53375c81e896f89e7b9f0262
Author: Doug Moore <dougm@FreeBSD.org>
AuthorDate: 2021-12-31 08:33:54 +0000
Commit: Doug Moore <dougm@FreeBSD.org>
CommitDate: 2022-07-12 16:26:10 +0000
x86-busdma - Add missing paren
Reported by: jenkins
Fixes: c606ab59e7f9 vm_extern: use standard address checkers everywhere
(cherry picked from commit b7810e05ff1dc23c65ef74447556a764a6a60982)
---
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;