From nobody Thu Oct 23 09:44:04 2025 X-Original-To: dev-commits-src-branches@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 4csh1w5JL9z6D0cg; Thu, 23 Oct 2025 09:44:04 +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 4csh1w2d0cz3dmR; Thu, 23 Oct 2025 09:44:04 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1761212644; 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=IR35Zo6ZqI/LKm8rLHaNOmE/FxnW+J2X6GM+/n8zwEY=; b=PVnxcc7Bbk3qPVAhqamFMwgOa4ESqZFtVyKWCUS7ffnbqIRWx0lthmNFoYG9L+Hpwn/Ypb 8tJt4JThxmrkFxC6W+4Sm1L3rZZzLgUgn7SUcRB088uTJcuqPfcz7AoICJvVkX0Ymc05mJ luD8zj+Oau1tipTcMefhsw60o6Utsr7TEkY1dWqC1fK0jMg2A1o2lG6PEjgDCGa/EA258O xXzDacejp6jj5v5az7oEO/YMn9NE5QxPmaq7If8X6xGZzaEaYXxnKO82l1YOaTqjLcsV2i 0sXGSgl1GF8/KqOJjgr2XfhUVHQNmNAJJaZhBukIW1cUllk4m+DTn2WyG+1i2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1761212644; 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=IR35Zo6ZqI/LKm8rLHaNOmE/FxnW+J2X6GM+/n8zwEY=; b=ruf32jl8CI18WUv8iUxKIFp90ATxNtVz5ZGtMOJGqY+3Oq/ICwmBsrcLBQd9mM0fe8JYQb op+HrRDKXUcNtHqhJQgbRCFKaWvVH7k28hj+WTmW0afj4+AK9HA/gxzdRcvAI9s/zLzE27 xO92wlFgnblvyFxTdpDFOQElZw4wQYaR/jfP4Ke2RDo6hkxQqcwkVY1vPa1vUhJMVvywHv EuGCb4WXKpsv3a3D41uwHtRffsoN0NtjbBFDQ8rdfQe+fHXbJHaP2tK4jrg2wpY2hoxDcY nsQFGEIHsu2Vl+C9d2/lG70bE97GppYlke24DtjHP6tYl/Qvn8pRtGuY584k+Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1761212644; a=rsa-sha256; cv=none; b=bv2JE8rFcRCl6CRJeiZF6obTNlLVyjjyqUPvb5a9ismsTwwMpDlXBRD46ov6t3wdFY4zRx GnPkr+YrHkpmnCt4kaIBFexw8anHUMpq1jFKe2RZR/DXC7GvddAxoM8ypY4U6ZAFiQC3Mg CLwVImYuehpDGuAl+gL4yd5xDQY6HcOC9eRn5NcW7pVeWq0IZYgFjszJEB9bX5UeTaY3BB 7+BqhbPevMQYozvYMje7Yd0GfQEEDEAlS2DifxPl+H+Ry4tWMnBgmxWbJpFetQRy8qcoFX f4cVzrkmJu3Siq/xWRtXrlHm83y0wGFXm8YQNVls1gAK8xU1bYgljTOTGCL7oA== 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 4csh1w24npz18bF; Thu, 23 Oct 2025 09:44:04 +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 59N9i4J3060036; Thu, 23 Oct 2025 09:44:04 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 59N9i4h8060033; Thu, 23 Oct 2025 09:44:04 GMT (envelope-from git) Date: Thu, 23 Oct 2025 09:44:04 GMT Message-Id: <202510230944.59N9i4h8060033@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: "Bjoern A. Zeeb" Subject: git: 5434a1635ed3 - stable/15 - LinuxKPI: platform_device return type change List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@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/stable/15 X-Git-Reftype: branch X-Git-Commit: 5434a1635ed3fab8214f3fea8ada9772e4372372 Auto-Submitted: auto-generated The branch stable/15 has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=5434a1635ed3fab8214f3fea8ada9772e4372372 commit 5434a1635ed3fab8214f3fea8ada9772e4372372 Author: Bjoern A. Zeeb AuthorDate: 2025-10-11 09:24:40 +0000 Commit: Bjoern A. Zeeb CommitDate: 2025-10-23 06:34:54 +0000 LinuxKPI: platform_device return type change The return type now is void; I believe no one ever used this so we can just chnage it. The only active platform_driver_register() calls seems to be in ath1[01]k and mt76 and there in unsupported code. Reviewed by: dumbbell, emaste Differential Revision: https://reviews.freebsd.org/D53205 (cherry picked from commit 0ae4998423e0d513fb88e404dfb1c2a285d11309) --- sys/compat/linuxkpi/common/include/linux/platform_device.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/compat/linuxkpi/common/include/linux/platform_device.h b/sys/compat/linuxkpi/common/include/linux/platform_device.h index 6853e709cb70..dba79f5936cc 100644 --- a/sys/compat/linuxkpi/common/include/linux/platform_device.h +++ b/sys/compat/linuxkpi/common/include/linux/platform_device.h @@ -39,7 +39,7 @@ struct platform_device { }; struct platform_driver { - int (*remove)(struct platform_device *); + void (*remove)(struct platform_device *); struct device_driver driver; };