Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Jan 2024 12:44:40 GMT
From:      Andriy Gapon <avg@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 90dc7889825d - main - fix signature of ipmi_shutdown_event
Message-ID:  <202401281244.40SCieRk088738@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by avg:

URL: https://cgit.FreeBSD.org/src/commit/?id=90dc7889825d13290955d0eb7e1fb4388c0a0135

commit 90dc7889825d13290955d0eb7e1fb4388c0a0135
Author:     Andriy Gapon <avg@FreeBSD.org>
AuthorDate: 2023-01-03 17:22:21 +0000
Commit:     Andriy Gapon <avg@FreeBSD.org>
CommitDate: 2024-01-28 12:44:13 +0000

    fix signature of ipmi_shutdown_event
    
    The function had a signature of watchdog_fn while in fact it is used as
    shutdown_fn.
---
 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 c9ebb5aab2bc..06b0760b002c 100644
--- a/sys/dev/ipmi/ipmi.c
+++ b/sys/dev/ipmi/ipmi.c
@@ -753,7 +753,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;
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202401281244.40SCieRk088738>