Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Jan 2026 19:41:25 +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: 2a04a8562ecc - stable/14 - LinuxKPI: device: add a pr_debug("TODO") call to device_release_driver()
Message-ID:  <696a9465.dc0a.28f92892@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=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. */
 


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?696a9465.dc0a.28f92892>