From nobody Mon Feb 19 10:44:39 2024 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 4TdfLf654Gz5BQlv for ; Mon, 19 Feb 2024 10:44:58 +0000 (UTC) (envelope-from bT.kezu4kmf30=81c2qhn7wp41=yx3ehig6m6@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 4TdfLf38MQz4mFP for ; Mon, 19 Feb 2024 10:44:58 +0000 (UTC) (envelope-from bT.kezu4kmf30=81c2qhn7wp41=yx3ehig6m6@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=d133WGMq; dkim=pass header.d=fubar.geek.nz header.s=s790814 header.b=Q11ZWv22; spf=pass (mx1.freebsd.org: domain of "bT.kezu4kmf30=81c2qhn7wp41=yx3ehig6m6@em790814.fubar.geek.nz" designates 103.2.140.197 as permitted sender) smtp.mailfrom="bT.kezu4kmf30=81c2qhn7wp41=yx3ehig6m6@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=1708340398; h=Feedback-ID: X-Smtpcorp-Track:To:Message-Id:Date:From:Subject:Reply-To:Sender: List-Unsubscribe; bh=HT2KVKgzwjoqf4qj0uuhH3h7UlqtC7zCEbV0Mz6T8Z4=; b=d133WGMq rKBe870UF9zlnbBCa3nXZufDJErdjwYyp/yNJlEpuJIW2Dews5g4UMTHrEVLOMR74uUZyxYG9Qgbg UFSdgbnkVQajCyt0c1uXmD35awgMdm4YF39CkwGcexVysNA7HgPjPwGmkxFWPYCTlNzmVF8gNDZmf 0moOL2F/FlLSRNjGrsgx3ZBuC3q6vJaVnj3XVt0tOao4zen1qWNQJbTOPDBBx5qyUXnXE5pX3koxI DUae40ruS+/j1yDgZ4+5h+Oa0N0o/xESbIMsxeJsHnYPrvEQ0IEQlfwWJZgH1fDxJ/+ndg8G51L1I Xm5/0Vi618qj4a9ywtBn7dDDDw==; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fubar.geek.nz; i=@fubar.geek.nz; q=dns/txt; s=s790814; t=1708339498; h=from : subject : to : message-id : date; bh=HT2KVKgzwjoqf4qj0uuhH3h7UlqtC7zCEbV0Mz6T8Z4=; b=Q11ZWv22kV7veaY7yuh01odIEMTMC3G0FNt0+rFrfpkuOgeEc6TtlUCA/s3KOflc4LorB RnVwTk4rjbtGPHflg9mVIFcJ4hajmShfsOSPeuvCNTJh8wZujH9JenMAIrW2yrmZ4eNf9ZP 07yd20zHhBAKYqd1BGrlAf8o23kMH41IcnI3527h1aOjUqOTl0Qj4WbVWhVTRJVEduH2fWO 79XyYoDxxUdh7AIaCuocPBePSLt69V9xGSWhqDJ2FxfCffrKRx1iv2mreEQ1ZBkWpPKil1c 7PFQUqDoM0o6mGM6WtMymQU1N/38LCA8BH1v0lggfVxWNeK/KXxaR+EqjakQ== 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 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: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@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.0AEg3yj8XSDK- Feedback-ID: 790814m:790814amQcrys:790814sCmxiK80xC X-Report-Abuse: Please forward a copy of this message, including all headers, to X-Rspamd-Queue-Id: 4TdfLf38MQz4mFP 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=81c2qhn7wp41=yx3ehig6m6@em790814.fubar.geek.nz]; R_SPF_ALLOW(-0.20)[+ip4:103.2.140.0/22:c]; 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-main@FreeBSD.org]; RCPT_COUNT_THREE(0.00)[4]; FROM_NEQ_ENVFROM(0.00)[andrew@fubar.geek.nz,bT.kezu4kmf30=81c2qhn7wp41=yx3ehig6m6@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