Date: Fri, 16 Jan 2026 19:40:39 +0000 From: Bjoern A. Zeeb <bz@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: 3d35647d33cf - stable/14 - LinuxKPI: implement str_disable_enable() Message-ID: <696a9437.db16.75a71d61@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch stable/14 has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=3d35647d33cf90d3ead87e45dd62eac4d3bddc66 commit 3d35647d33cf90d3ead87e45dd62eac4d3bddc66 Author: Bjoern A. Zeeb <bz@FreeBSD.org> AuthorDate: 2025-08-13 21:52:42 +0000 Commit: Bjoern A. Zeeb <bz@FreeBSD.org> CommitDate: 2026-01-16 19:37:44 +0000 LinuxKPI: implement str_disable_enable() Implement str_disable_enable() needed by a wireless driver by using the already existing str_enable_disable() with a toggled argument. Sponsored by: The FreeBSD Foundation Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D52081 (cherry picked from commit a274435d0dc04a876ce2898a9036223972d23fdc) --- sys/compat/linuxkpi/common/include/linux/string_helpers.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/compat/linuxkpi/common/include/linux/string_helpers.h b/sys/compat/linuxkpi/common/include/linux/string_helpers.h index 1bdff2730361..2c6fe0b1708d 100644 --- a/sys/compat/linuxkpi/common/include/linux/string_helpers.h +++ b/sys/compat/linuxkpi/common/include/linux/string_helpers.h @@ -66,4 +66,6 @@ str_enable_disable(bool value) return "disable"; } +#define str_disable_enable(_v) str_enable_disable(!(_v)) + #endifhome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?696a9437.db16.75a71d61>
