Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 03 Dec 2025 01:38:07 +0000
From:      Bjoern A. Zeeb <bz@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: fc9666d0fc0c - main - LinuxKPI: device: add a pr_debug("TODO") call to device_release_driver()
Message-ID:  <692f947f.29358.265cd01a@gitrepo.freebsd.org>

index | next in thread | raw e-mail

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. */
 


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?692f947f.29358.265cd01a>