git: fc9666d0fc0c - main - LinuxKPI: device: add a pr_debug("TODO") call to device_release_driver()
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 03 Dec 2025 01:38:07 UTC
The branch main has been updated by bz:
URL: https://cgit.FreeBSD.org/src/commit/?id=fc9666d0fc0c2541e44bfbcaa5bb1b670395687c
commit fc9666d0fc0c2541e44bfbcaa5bb1b670395687c
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-03 01:09:24 +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
MFC after: 3 days
---
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. */