summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2025-05-06 21:09:40 -0400
committerIan Moffett <ian@osmora.org>2025-05-06 21:09:40 -0400
commit619e15c32ce29cb9346d2d62198d343b51e6ee8d (patch)
tree9360467edc5888788a6b90a9e87ae2f71e1b2891 /sys
parent4a35b1e33eca3683c3e2ad080d4e646c6089339f (diff)
kernel: ahci: Return 0 in ahci_poll_reg()
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/ic/ahci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ic/ahci.c b/sys/dev/ic/ahci.c
index b483e7a..d56eb9e 100644
--- a/sys/dev/ic/ahci.c
+++ b/sys/dev/ic/ahci.c
@@ -78,7 +78,7 @@ ahci_poll_reg(volatile uint32_t *reg, uint32_t bits, bool pollset)
}
}
- return val;
+ return 0;
}
static int