From nobody Mon Feb 19 10:44:39 2024 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 4TdfLd2c17z5BQqx for ; Mon, 19 Feb 2024 10:44:57 +0000 (UTC) (envelope-from bT.kezu4kmf30=xf8rqfv5wp4z=yx3ehig6mm@em790814.fubar.geek.nz) Received: from e2i197.smtp2go.com (e2i197.smtp2go.com [103.2.140.197]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4TdfLb0345z4m3v for ; Mon, 19 Feb 2024 10:44:53 +0000 (UTC) (envelope-from bT.kezu4kmf30=xf8rqfv5wp4z=yx3ehig6mm@em790814.fubar.geek.nz) Authentication-Results: mx1.freebsd.org; dkim=none ("invalid DKIM record") header.d=smtpservice.net header.s=mgy720.a1-4.dyn header.b=tyTFX5KI; dkim=pass header.d=fubar.geek.nz header.s=s790814 header.b=cNvPNGw8; spf=pass (mx1.freebsd.org: domain of "bT.kezu4kmf30=xf8rqfv5wp4z=yx3ehig6mm@em790814.fubar.geek.nz" designates 103.2.140.197 as permitted sender) smtp.mailfrom="bT.kezu4kmf30=xf8rqfv5wp4z=yx3ehig6mm@em790814.fubar.geek.nz"; dmarc=pass (policy=none) header.from=fubar.geek.nz DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=smtpservice.net; s=mgy720.a1-4.dyn; x=1708340393; h=Feedback-ID: X-Smtpcorp-Track:To:Message-Id:Date:From:Subject:Reply-To:Sender: List-Unsubscribe; bh=HT2KVKgzwjoqf4qj0uuhH3h7UlqtC7zCEbV0Mz6T8Z4=; b=tyTFX5KI 1cztisoVgib/YRnMvgdUIZ8IlmdEesNFyj2Em6224M8TUuy5cMQBuadJqA7WGGZKRVO1p6wzNVTcE sq+4SdPXvAM1Ixk/pNTjyCYbxlDusAedByRDIWC6UPGSg096kdi7KqCmTkIxVdSWreSsrLzDW8CYu P1dAIoRQsV8ByVfoPJKUqa4v7AVPVFzxGAHczU9mEYGVwbArCW7vUu6b0VO6VP9tuFa+pFkYt4jcW IevrFQk1iYjMVZYaimHRsgHSvJodJXhV4vs298X0rZhGTi9JYvtGRjZqZv8cCkn2J25IcdUTb8aQx MgkiGsPYcEabvdFII5FLQnCtQA==; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fubar.geek.nz; i=@fubar.geek.nz; q=dns/txt; s=s790814; t=1708339493; h=from : subject : to : message-id : date; bh=HT2KVKgzwjoqf4qj0uuhH3h7UlqtC7zCEbV0Mz6T8Z4=; b=cNvPNGw8mpk23+A13b1aB4T5RLNjtHaMotLXP5XcwAZGXHmsPa4ioR+v6wDnnJGNPnlE+ 23o1WqaoxX3jyBa4kqVW74EnxdN1USKVcQv3+mrNJg2EslrNd6gKqBdaCjN9aFU+8JIB6cY boxcjJDohTx9VV4nBEif5rA6NB55uXzNHyKvMhUJjNaHtfIFeWNxnmv6alTrV7JEPsTSvwB nuA4KhMbycrh1ZcwOU0b5Z+5YDdQgB0kJXfjskX8MEuHuABLfw+NSPlhMWcQ2uUW7Rpr7h1 NeLobO7TuQSumwOiWMr5W1ZzMqqZBi9356BH/G26LJjZj8UkfU4Cj2s202XQ== Received: from [10.139.162.187] (helo=SmtpCorp) by smtpcorp.com with esmtpsa (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.94.2-S2G) (envelope-from ) id 1rc18k-Y8PLYt-T0; Mon, 19 Feb 2024 10:44:50 +0000 Received: from [10.99.243.232] (helo=morbo.fubar.geek.nz) by smtpcorp.com with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.96.1-S2G) (envelope-from ) id 1rc18k-4XlQf7-2E; Mon, 19 Feb 2024 10:44:50 +0000 Received: from smtpclient.apple (92.40.184.195.threembb.co.uk [92.40.184.195]) by morbo.fubar.geek.nz (Postfix) with ESMTPSA id 304233962E; Mon, 19 Feb 2024 10:44:50 +0000 (UTC) Content-Type: text/plain; charset=utf-8 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: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.100.2.1.4\)) Subject: Re: git: 5bda26333a8e - main - gpiobus: Use bus_generic_rman_* From: Andrew Turner In-Reply-To: <202402142252.41EMqcLK086071@gitrepo.freebsd.org> Date: Mon, 19 Feb 2024 10:44:39 +0000 Cc: "src-committers@freebsd.org" , "dev-commits-src-all@freebsd.org" , "dev-commits-src-main@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: References: <202402142252.41EMqcLK086071@gitrepo.freebsd.org> To: John Baldwin X-Mailer: Apple Mail (2.3774.100.2.1.4) X-Smtpcorp-Track: 1rc18k4b_Qf72E.0AEM3yj8V934s Feedback-ID: 790814m:790814amQcrys:790814sCmxiK80xC X-Report-Abuse: Please forward a copy of this message, including all headers, to X-Rspamd-Queue-Id: 4TdfLb0345z4m3v X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.88 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.98)[-0.978]; DMARC_POLICY_ALLOW(-0.50)[fubar.geek.nz,none]; MV_CASE(0.50)[]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; FORGED_SENDER(0.30)[andrew@fubar.geek.nz,bT.kezu4kmf30=xf8rqfv5wp4z=yx3ehig6mm@em790814.fubar.geek.nz]; R_SPF_ALLOW(-0.20)[+ip4:103.2.140.0/22]; R_DKIM_ALLOW(-0.20)[fubar.geek.nz:s=s790814]; RCVD_IN_DNSWL_MED(-0.20)[103.2.140.197:from]; MIME_GOOD(-0.10)[text/plain]; DKIM_TRACE(0.00)[smtpservice.net:~,fubar.geek.nz:+]; RCVD_COUNT_THREE(0.00)[3]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; R_DKIM_PERMFAIL(0.00)[smtpservice.net:s=mgy720.a1-4.dyn]; MIME_TRACE(0.00)[0:+]; FROM_HAS_DN(0.00)[]; RCVD_TLS_ALL(0.00)[]; DKIM_MIXED(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[dev-commits-src-all@FreeBSD.org]; RCPT_COUNT_THREE(0.00)[4]; FROM_NEQ_ENVFROM(0.00)[andrew@fubar.geek.nz,bT.kezu4kmf30=xf8rqfv5wp4z=yx3ehig6mm@em790814.fubar.geek.nz]; ASN(0.00)[asn:23352, ipnet:103.2.140.0/22, country:US]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[] > On 14 Feb 2024, at 22:52, John Baldwin wrote: >=20 > The branch main has been updated by jhb: >=20 > URL: = https://cgit.FreeBSD.org/src/commit/?id=3D5bda26333a8ebf34190e3a9124895e6a= 18e58e93 >=20 > commit 5bda26333a8ebf34190e3a9124895e6a18e58e93 > Author: John Baldwin > AuthorDate: 2024-02-14 22:07:32 +0000 > Commit: John Baldwin > CommitDate: 2024-02-14 22:07:32 +0000 >=20 > gpiobus: Use bus_generic_rman_* >=20 > Reviewed by: imp > Differential Revision: https://reviews.freebsd.org/D43887 > --- > sys/dev/gpio/gpiobus.c | 57 = +++++++++++++++++--------------------------------- > 1 file changed, 19 insertions(+), 38 deletions(-) >=20 > diff --git a/sys/dev/gpio/gpiobus.c b/sys/dev/gpio/gpiobus.c > index 99d3114d51da..6d739597b759 100644 > --- a/sys/dev/gpio/gpiobus.c > +++ b/sys/dev/gpio/gpiobus.c > @@ -809,20 +809,29 @@ gpiobus_write_ivar(device_t dev, device_t child, = int which, uintptr_t value) > return (0); > } >=20 > +static struct rman * > +gpiobus_get_rman(device_t bus, int type, u_int flags) This is unused now. It looks like it=E2=80=99s missing = "DEVMETHOD(bus_get_rman, gpiobus_get_rman)=E2=80=9D. Andrew