git: 0f496780deee - stable/15 - LinuxKPI: device: add a pr_debug("TODO") call to device_release_driver()
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 08 Dec 2025 15:44:18 UTC
The branch stable/15 has been updated by bz:
URL: https://cgit.FreeBSD.org/src/commit/?id=0f496780deee49cfd86f4e02db775b706405fef9
commit 0f496780deee49cfd86f4e02db775b706405fef9
Author: Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2025-12-03 01:09:24 +0000
Commit: Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2025-12-08 15:43:52 +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)
---
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 c291133e2e0b..8834f1799e61 100644
--- a/sys/compat/linuxkpi/common/include/linux/device.h
+++ b/sys/compat/linuxkpi/common/include/linux/device.h
@@ -557,6 +557,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. */