From nobody Tue Oct 21 07:53:10 2025 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4crPfv0hTbz6F3SL; Tue, 21 Oct 2025 07:53:11 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4crPft5rC2z3mBS; Tue, 21 Oct 2025 07:53:10 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1761033190; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=0EEX0kiMRVVJ/mYIYAxFTqb1Qp/nRR2rbpH+ZMf+7Ig=; b=dc5uYAaD5Z76AmfiX4K0GSe86Y7UNWiDXll4T5vaQLdpT15yNBNWhRzgxo1dxP1f398mmU 0xwnR42nhHIWXFIxwHkZ87R9wqxLgQV7faGlW1tSUi41+Ih22/ojTtpOYis2wvP75rXfGC RVFqwxJfUeXYkRm2dadBfRvXQY88ik9HeiUxIXALnbcj2rhXd/zSJNPiUMEqe6KmoYnVDv xVM1U9IL5bgSfxy3RqmT1bTGnMa0jnA/EMeTDRo4O8pZzqevEMqM+CHJLzvjCCnqLuxaA9 pEyMXrACcW3pvokqBu19nuQMCr0SaMC3VoRkJS9sdSDTdAPxhkbfnuEm7SX5Cg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1761033190; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=0EEX0kiMRVVJ/mYIYAxFTqb1Qp/nRR2rbpH+ZMf+7Ig=; b=GlMvQNPouOhLs1fL+tbJCepr8EVXPC8ENBK6JdZbw29MDRMC825E5rL5WrpNwmkEFa9pHN +4Rk4Y17QBcuYjba4dc2RS+ETxf9IJhwnkw3/uoSzFwv0XxaQeoemSvm0A+DeVCGLZDcwX buZq8qFqx7I7x+UAwlA5FJSH3bMewEEo0krR/uFU1kUVBJBGEaDgmpoKRkxDQltjwItl8m /WiXyeLcLdWKq+vGqzPBqBgVI3MZVQ/W+vALWF4WuDZvdHQF/zK2AaEphyeB7ENdJE9LLm B8veErur2A6wM7pRQlocXa0ABfcf9UGwXeEWx/gHttRdrytt/PKZ9zIZ3x6dEg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1761033190; a=rsa-sha256; cv=none; b=doNQBIqtu/jvuvjoKhQcnesR+LAy+CNFNJa+E8t/Y726loWZPmvRp4rggo8EPjwy/FmvP1 6xgtJjx2eYak9qB0vztxxcdtuVifJdpeiIp64TRGyMTRz6ruOqT/YDl+YKmG+gZTyMxT2k e2zmT3Tg5oiaEHz5y+6un09KRn76jrxJXEHMfGCh35moFggYUGF6L3EiPg5PfgdRcd0LQl VJMatdarpRf3or8fyuMmiIUv+yT04GTnMF+SLh+TslOaBAWf2TpVi/6NWc50WJ6MdRF1oC uSqvPtOsXdxNrEfyF/A8QRU5kR/Ig+ib80RTilWf6fmGiK0afQKMXz+5dAWPug== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4crPft5MWhzr74; Tue, 21 Oct 2025 07:53:10 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 59L7rAv1014453; Tue, 21 Oct 2025 07:53:10 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 59L7rAaS014450; Tue, 21 Oct 2025 07:53:10 GMT (envelope-from git) Date: Tue, 21 Oct 2025 07:53:10 GMT Message-Id: <202510210753.59L7rAaS014450@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: "Bjoern A. Zeeb" Subject: git: 8ea366f40084 - main - LinuxKPI: device_driver add (*coredump)() List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bz X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8ea366f40084010c14fe40b3aebb42b459b195cc Auto-Submitted: auto-generated The branch main has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=8ea366f40084010c14fe40b3aebb42b459b195cc commit 8ea366f40084010c14fe40b3aebb42b459b195cc Author: Bjoern A. Zeeb AuthorDate: 2025-10-11 09:23:43 +0000 Commit: Bjoern A. Zeeb CommitDate: 2025-10-21 07:49:39 +0000 LinuxKPI: device_driver add (*coredump)() Needed by multiple wireless driver for the v6.17 update (likely earlier versions already). MFC after: 3 days Reviewed by: dumbbell Differential Revision: https://reviews.freebsd.org/D53206 --- 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 7dd6340746d2..c291133e2e0b 100644 --- a/sys/compat/linuxkpi/common/include/linux/device.h +++ b/sys/compat/linuxkpi/common/include/linux/device.h @@ -92,6 +92,7 @@ struct device_driver { const struct dev_pm_ops *pm; void (*shutdown) (struct device *); + void (*coredump) (struct device *); }; struct device_type {