Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Oct 2025 07:41:17 GMT
From:      Mateusz Guzik <mjg@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 5b63afc09a86 - main - watchdog: ifdef wd_ioctl_patpat on COMPAT_FREEBSD14
Message-ID:  <202510010741.5917fHm8093783@gitrepo.freebsd.org>

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

URL: https://cgit.FreeBSD.org/src/commit/?id=5b63afc09a86318fa8bf09a786a1b084e000cc51

commit 5b63afc09a86318fa8bf09a786a1b084e000cc51
Author:     Mateusz Guzik <mjg@FreeBSD.org>
AuthorDate: 2025-10-01 07:40:31 +0000
Commit:     Mateusz Guzik <mjg@FreeBSD.org>
CommitDate: 2025-10-01 07:40:31 +0000

    watchdog: ifdef wd_ioctl_patpat on COMPAT_FREEBSD14
    
    Sponsored by:   Rubicon Communications, LLC ("Netgate")
---
 sys/dev/watchdog/watchdog.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sys/dev/watchdog/watchdog.c b/sys/dev/watchdog/watchdog.c
index e1b2e08c3f10..c599db56bf95 100644
--- a/sys/dev/watchdog/watchdog.c
+++ b/sys/dev/watchdog/watchdog.c
@@ -204,6 +204,7 @@ wd_valid_act(int act)
 	return true;
 }
 
+#ifdef	COMPAT_FREEBSD14
 static int
 wd_ioctl_patpat(caddr_t data)
 {
@@ -223,6 +224,7 @@ wd_ioctl_patpat(caddr_t data)
 
 	return (wdog_kern_pat(u));
 }
+#endif
 
 static int
 wd_get_time_left(struct thread *td, time_t *remainp)



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