From nobody Wed Oct 05 09:29:08 2022 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 4Mj8Qr4zTTz4dpFL; Wed, 5 Oct 2022 09:29:08 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Mj8Qr4R1cz488m; Wed, 5 Oct 2022 09:29:08 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664962148; 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=uLiko8l6+b29e7nKNCgWxRTcoyKQn1Mq6sY0/vfLm48=; b=s84lIGFR4odg0iFuNRhnRUVzi1G3dtn/+schwBLgq1kXqP0riLRpyVbgzvEqEcKdGk4LZQ bZlEYFY1U8Y2gXfn8daQWjiAZzWKpIpQKOEGqQr5QRA3ZVVdr35Ri0HsOa4d2Xe8tsCSzw S8qe4I/CkWvvmiclfJsJFKqc0wM4vN9cfpNH3+JNqp+S5elQ0k5jqy0dDrisDwA1O+c9VB aY36VY92H2Qf1KGGSft1zvHPtCLF4XMDv2CLg5Qeuizyi+04LjFOV/e17/vU30WH/e1how 7S6J+FOYz55UAiPSJhK3DuN50fMaEIpffS1JdVsDiAlhZIR3oRpbzh/7+Ycl1g== 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 4Mj8Qr3RmGzrvT; Wed, 5 Oct 2022 09:29:08 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2959T8CT018723; Wed, 5 Oct 2022 09:29:08 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2959T88P018722; Wed, 5 Oct 2022 09:29:08 GMT (envelope-from git) Date: Wed, 5 Oct 2022 09:29:08 GMT Message-Id: <202210050929.2959T88P018722@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Andrew Turner Subject: git: fbc9f1b2d6cf - main - Remove an extra argument to SYSCTL_FOREACH 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 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: andrew X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: fbc9f1b2d6cf90c02b918671fb7791cf36472cfd Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664962148; 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=uLiko8l6+b29e7nKNCgWxRTcoyKQn1Mq6sY0/vfLm48=; b=f97QPGvplwWZ1d2tCl4VaXQVXAqXbc/aAfBjJAb7lGjfgHlUDTNF1XGA2Ix2pz1zX1BVrd KxgTOs+zDPSvLAbZTZC4ZI0S1E1+ujgd4YqTs8fVsEUNlXdtueJ+2hcvIoghdaH16bwmYd ao9DoJ8bL32nVdZiVUq2Hi7OvWQwErpn/SWAVJbr9jLgIals/EmHWXaPF6xvFFkICzQYR0 nbv2Ig91NdgpnTjjoGm9Bp59xflUszwGY+/HkkK8x8Iml9LNcWdYyhv42BOD10Xh7eYQqJ cDu4wPxGs48nhL7jRk9UogZTQxUJ7F+87kzFIm5BIhfwiqwswWr3krhXK5kXSg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1664962148; a=rsa-sha256; cv=none; b=u18Hc8q4W+wybu9SGrKcjKYbTSUIp2LnFHzrL0Of+dgMT3vtV38J97pRjeb0gk5tij3sRc xIKpQJuv0IwxsEcG/3+YSv7FQ7MZx+qsW/dQV6LD2i10od95MQh3LjxEket1Pg/5f8KIqr xKERdXg05HdNWsK/0YLTY6yqDmSrTNC94DunboGgNelj3weOsv1vzwMYIpjMIfBuPFmohd zboGYOFODJar5esFjUf1sGtXRl5bUovKM325Y0TJB68Tnt3q1VW767sePxgj2G2VBEykYn EY64AU7wXk1fk+Ux+sGwHFfYJ3sLhhhIPue6muxZ6TfdA8zaTne9+K8C0QZcsQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by andrew: URL: https://cgit.FreeBSD.org/src/commit/?id=fbc9f1b2d6cf90c02b918671fb7791cf36472cfd commit fbc9f1b2d6cf90c02b918671fb7791cf36472cfd Author: Andrew Turner AuthorDate: 2022-10-05 09:27:48 +0000 Commit: Andrew Turner CommitDate: 2022-10-05 09:27:48 +0000 Remove an extra argument to SYSCTL_FOREACH This was missed in e0853c933661. Sponsored by: The FreeBSD Foundation --- sys/dev/drm2/drm_sysctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/drm2/drm_sysctl.c b/sys/dev/drm2/drm_sysctl.c index 2879f2df1220..bf3a1c4f80c6 100644 --- a/sys/dev/drm2/drm_sysctl.c +++ b/sys/dev/drm2/drm_sysctl.c @@ -78,7 +78,7 @@ int drm_sysctl_init(struct drm_device *dev) /* Find the next free slot under hw.dri */ i = 0; - SYSCTL_FOREACH(oid, SYSCTL_CHILDREN(drioid), oid_link) { + SYSCTL_FOREACH(oid, SYSCTL_CHILDREN(drioid)) { if (i <= oid->oid_arg2) i = oid->oid_arg2 + 1; }