From nobody Fri Jan 03 16:27:24 2025 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 4YPprY2mN8z5k96F; Fri, 03 Jan 2025 16:27:25 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YPprY0P49z4d0V; Fri, 3 Jan 2025 16:27:25 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735921645; 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=kC3URrAxV1egY+XXOHIxU4SawGjCl4SzD0LQqOlcPAw=; b=L8SuvXyWstBxDDoIo5u8JZhwVItsJTscVKUkuvy1t9Dy3OdUTGI3rWUaKeIbfqK1fgZjUl +K3fJATwoIaR0hVV0SZOa8qZHsmcuGXPzoieu5bobnQaDJY9F3kZsI/UPc4xgICfqRldjV 0MdnVBazQCzt9SKNcKoQlrBYCdoAUniypi69Uvlfcm2I7wdHBj94U+ztgFwT+BmNTe95Ey FuoS5kAOcPxHM//w+1mtEuBHarsQ7NufLK+WFUFyBweB8MTmlGbYPyoDGFwmJNak9Fryph BW6GlUHoS47NAxgt1YM4Rb2gEONkXF2tkpPFJmp2ao5HtgETKZrEFk2qijGt9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735921645; 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=kC3URrAxV1egY+XXOHIxU4SawGjCl4SzD0LQqOlcPAw=; b=XknamX9GJoFzSfhqYx3PDE0SoYlUN8RFk8xD40rCjy8JPMRkLubtEEjLHZXPGUYO/8M1m3 t3An8+CqoBwwYtEP7UitOsz0mb/lH7fikRN6cWW5MXBcx41736CyUstVpbv+oCVfyP22VB W1xuP5qR+ze8iyEYWfm2gMvjfnhplljjX1vSuqbWzVD+Wf8q8PDK2zyL7wtMzmGmxnfirg KFics89HTh3wVbQSYRtZduu/XLeAeOqIrkDNbMwhkjbzzTsLNowRfPxE1EqvgSN7O3vMAP CxSt1H+rsXnbMSZbuuFTfgtClJGMmDEjXuQ/douWoR0PNgA0gwTbcuCyi/e1NA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1735921645; a=rsa-sha256; cv=none; b=XvKwHZbXXioEUBPshwrLaW+fYYgSwmxN+5IDUVXv+g0t1GWuF/60EZVh/JTQDF6sAcnCtQ QbMNja4sdyG3UC1gIj9wPvEy8Iz1xJnF47pyoOgy3T/TM5ijrODjf8nY20IFLq8+cTu8mw yUGu1UmKzTBL7+gRLsi1I4tXEc1YrkTbUHmR2laBNx61UFaJAYhR9OQ9gNnI78kWKHOy9v 9riLJc1kL4x1npW0c67NYKc1bA8LB9IOxGmDPJWQ15hEa38dah1YTsqZ/Ka2dUQCpQlY1S /HPv/aEJ7GgstTi2wuwm3AaIdEbK5SwFMLoKKky2bVK3B2WNpqbB3QM8Yn05uA== 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 4YPprX6vRfz70; Fri, 03 Jan 2025 16:27:24 +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 503GROv2036422; Fri, 3 Jan 2025 16:27:24 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 503GROx4036419; Fri, 3 Jan 2025 16:27:24 GMT (envelope-from git) Date: Fri, 3 Jan 2025 16:27:24 GMT Message-Id: <202501031627.503GROx4036419@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: b714eacb7905 - main - acpi: Pass the correct device to acpi_pcib_osc 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: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-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: b714eacb790551f35de03831b88ad7b7e1502102 Auto-Submitted: auto-generated The branch main has been updated by andrew: URL: https://cgit.FreeBSD.org/src/commit/?id=b714eacb790551f35de03831b88ad7b7e1502102 commit b714eacb790551f35de03831b88ad7b7e1502102 Author: Andrew Turner AuthorDate: 2025-01-03 16:03:31 +0000 Commit: Andrew Turner CommitDate: 2025-01-03 16:10:41 +0000 acpi: Pass the correct device to acpi_pcib_osc Fix a copy-and-paste error in acpi_pcib_request_feature where the child device was passed into acpi_pcib_osc rather than the pcib device. Reviewed by: garga, jhb Fixes: ba1904937d9a ("acpica: Extract _OSC parsing to a common file") Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D48285 --- sys/dev/acpica/acpi_pcib_acpi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/acpica/acpi_pcib_acpi.c b/sys/dev/acpica/acpi_pcib_acpi.c index e4cff4639a93..e8ab481d776f 100644 --- a/sys/dev/acpica/acpi_pcib_acpi.c +++ b/sys/dev/acpica/acpi_pcib_acpi.c @@ -703,7 +703,7 @@ acpi_pcib_request_feature(device_t pcib, device_t dev, enum pci_feature feature) return (EINVAL); } - return (acpi_pcib_osc(dev, &sc->ap_osc_ctl, osc_ctl)); + return (acpi_pcib_osc(pcib, &sc->ap_osc_ctl, osc_ctl)); } static bus_dma_tag_t