From 619e15c32ce29cb9346d2d62198d343b51e6ee8d Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Tue, 6 May 2025 21:09:40 -0400 Subject: kernel: ahci: Return 0 in ahci_poll_reg() Signed-off-by: Ian Moffett --- sys/dev/ic/ahci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3