git: 2a04a8562ecc - stable/14 - LinuxKPI: device: add a pr_debug("TODO") call to device_release_driver()
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 16 Jan 2026 19:41:25 UTC
The branch stable/14 has been updated by bz:
URL: https://cgit.FreeBSD.org/src/commit/?id=2a04a8562ecc23d68f64d0b8df86b5f3da223ac5
commit 2a04a8562ecc23d68f64d0b8df86b5f3da223ac5
Author: Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2025-12-03 01:09:24 +0000
Commit: Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2026-01-16 19:37:54 +0000
LinuxKPI: device: add a pr_debug("TODO") call to device_release_driver()
The logic in device_release_driver() got disabled in 93b14194acaf2
and since left alone. Add a pr_debug() call so we have a chance to
notice if that code is actually still in need to be fixed and re-enabled.
Sponsored by: The FreeBSD Foundation
(cherry picked from commit fc9666d0fc0c2541e44bfbcaa5bb1b670395687c)
(cherry picked from commit 0f496780deee49cfd86f4e02db775b706405fef9)
---
sys/compat/linuxkpi/common/include/linux/device.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/sys/compat/linuxkpi/common/include/linux/device.h b/sys/compat/linuxkpi/common/include/linux/device.h
index ab53add4be54..85917f788502 100644
--- a/sys/compat/linuxkpi/common/include/linux/device.h
+++ b/sys/compat/linuxkpi/common/include/linux/device.h
@@ -545,6 +545,7 @@ static inline void
device_release_driver(struct device *dev)
{
+ pr_debug("%s: TODO\n", __func__);
#if 0
/* This leads to panics. Disable temporarily. Keep to rework. */