git: 392953c490da - stable/13 - fix signature of ipmi_shutdown_event
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 17 Feb 2024 19:22:36 UTC
The branch stable/13 has been updated by avg:
URL: https://cgit.FreeBSD.org/src/commit/?id=392953c490da99739feeb51e8917325ba30b802a
commit 392953c490da99739feeb51e8917325ba30b802a
Author: Andriy Gapon <avg@FreeBSD.org>
AuthorDate: 2023-01-03 17:22:21 +0000
Commit: Andriy Gapon <avg@FreeBSD.org>
CommitDate: 2024-02-17 19:22:08 +0000
fix signature of ipmi_shutdown_event
The function had a signature of watchdog_fn while in fact it is used as
shutdown_fn.
(cherry picked from commit 90dc7889825d13290955d0eb7e1fb4388c0a0135)
---
sys/dev/ipmi/ipmi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/dev/ipmi/ipmi.c b/sys/dev/ipmi/ipmi.c
index eaf58425fa3c..7fef4d5ad103 100644
--- a/sys/dev/ipmi/ipmi.c
+++ b/sys/dev/ipmi/ipmi.c
@@ -728,7 +728,7 @@ ipmi_wd_event(void *arg, unsigned int cmd, int *error)
}
static void
-ipmi_shutdown_event(void *arg, unsigned int cmd, int *error)
+ipmi_shutdown_event(void *arg, int howto)
{
struct ipmi_softc *sc = arg;