From nobody Tue Oct 21 07:53:09 2025 X-Original-To: dev-commits-src-all@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 4crPft0dCzz6F3Gh; Tue, 21 Oct 2025 07:53:10 +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 4crPfs4py8z3m4W; Tue, 21 Oct 2025 07:53:09 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1761033189; 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=zbIiIc1gHhiWEuUhq+QeaH4U2dyBygCO8g5pb/wW9+s=; b=Fhnn7vpcHNZdoW58WfkqcACtgLUI08VK7uAFlIUrOKHZLGaYzaxTW0xIyCKJC3INEvJcYz SSveZpxWx+N1iSf3t2UHAbLBt9TDj1l6Q4R+httjFbByBMPe5fcClfCowbBsPKlXmsODpm I1NNdkVqFC81rUiAGMzKUBZVx3KCZFenN6m/qHF61uB7EkM8/xuXIwkrQInUcf55u9M2+Q MIj+KdmtZRe96T2JWzPOg4VG+9pv/JWRznyJ3lwLZm53aE5tmCqXltwotdyKXy8Kj6fHgK PvwA5o3/ENIwIh7TOMOZMIUE6gqpexEhfikY+Y4QsNNWeXJo7BPPcmGDNjdLWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1761033189; 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=zbIiIc1gHhiWEuUhq+QeaH4U2dyBygCO8g5pb/wW9+s=; b=Cm/gXms4LMNj5Xdp3jPWzUlfafp3wj+besaZLsH+Vta2kjjV5qwa+LBNAj/shJvh34aITS YE7hzUZjyGN+IMLYqZVRMYFWRtmNjsqfEloUUnsFQ7xCb9iZonIGdA+5WlSy6LdkG0RBN1 uAyvKGDdRhdlCEdiqi0WeDg4ekXPJU513e2VqBCybvO53wV5Ly24ZjId56Gh1N3S+6kspD zSGP5jKdPVFUjPSShAXTPHx3caQtxch79yo+xSbqA2fyp62dWIf0rFd0APBocOn1dYRgCQ tA1tm7iQa3YV8NQVNVClRevu33m1OYzFsLvUj/ySAckvgTipe/SFHw5aV4lG1Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1761033189; a=rsa-sha256; cv=none; b=o1gnVxoHhiSg0Q3Tv43N5H0NBDu8mUtqrQ/SNpuuh8KlfNg50c5mlriamDQeJTosnOglK3 DOvQ/fim6iX23wuJG63a7ayqypUh0cnEIR+3AoMVsgLaY1imQ9z+U3amuPBSr3p6ypkE7j /CCv8BSjeN0ryUgG9bczyhQlAS5RspfIx5UOBwcmMskDaIvDLgJM4SEM9xojGsyuJICUtB pBwPmDL3RinqnuAQfPDZ/h2o9K308Eh9jyd4PVSlhPiGmw+WYc6SHvyor5riSPIlCZmSpA eCoe5ss6+NJi9Wtlo08ZdvMfeoAdL+o7ORLhnrDn6B+PbzZbUEXe+lLg/ZPOdQ== 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 4crPfs4Qq5zqvf; Tue, 21 Oct 2025 07:53:09 +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 59L7r9Kt014417; Tue, 21 Oct 2025 07:53:09 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 59L7r95x014414; Tue, 21 Oct 2025 07:53:09 GMT (envelope-from git) Date: Tue, 21 Oct 2025 07:53:09 GMT Message-Id: <202510210753.59L7r95x014414@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: 0ae4998423e0 - main - LinuxKPI: platform_device return type change List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@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: 0ae4998423e0d513fb88e404dfb1c2a285d11309 Auto-Submitted: auto-generated The branch main has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=0ae4998423e0d513fb88e404dfb1c2a285d11309 commit 0ae4998423e0d513fb88e404dfb1c2a285d11309 Author: Bjoern A. Zeeb AuthorDate: 2025-10-11 09:24:40 +0000 Commit: Bjoern A. Zeeb CommitDate: 2025-10-21 07:49:39 +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. MFC after: 3 days Reviewed by: dumbbell, emaste Differential Revision: https://reviews.freebsd.org/D53205 --- 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; };