From nobody Wed May 13 12:39:58 2026 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 4gFtMf5hjNz6dL5f for ; Wed, 13 May 2026 12:39:58 +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 "R13" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4gFtMf43nqz3vvF for ; Wed, 13 May 2026 12:39:58 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1778675998; 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=mqXiqwsMcgtRt+ohdZbTvxWvNOu1PoLjIowie72xpZ0=; b=IHVaNfOmhVO+cKT3NfLub8Ax0hmNhIOYrnnge8kE+b9U24LUaeW4/S2Wg7wgU0zlkF2tA+ Bz9uEymjyAUi7K1RedNG9mKt600pwJA/17OQlfU45VgKUYf6tF/0siEicb17VTHeww+9ho G4ke5fysOorevkVl/XYOFDdSfCDwBPJujUZcb0J/1QmYIt81d/ZXRypdFTYM6ZJ5JCHrv4 AI6jzMqlmLs6GMnlg4EJcHuruj6cMrC2Y/QFwwjUHNlVTuli9zsW4q+GJkyWdrUVJiETKu br71EhuXd06A9LWLKveyX3AxrAKqpS9gVR3Ef4hJVNeEpODCwXQAhcbk6pTnBA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1778675998; a=rsa-sha256; cv=none; b=kT+SIWcpOYmIzXjtQiltN9pMsBFGzFUhZvJTOQJ8RANQWXPz48boUwdQvEtDz5siRQ5cvA t4IY+RCbS9EdL0e9tQsm/FyewbU+ocvbRHmy2NC4wc2yY5kpCZg3OC/SbAvgYdD8GRXZyl Ha79EZ1vewlghE7+UiPhsLfhISX5izLWQ3ScYtDRWrABFf+jInpTVlzBZJoLYDk8WdsTPR Ea3nOU4MWKA9CtgDde1SLdiyyDTI0+SDGyBuceiR7jLZnp1x2xPK/ZXxWkVYPwvjKQ58uQ aLhyzYcQr3AjGAGL9N+qkZHUBWpE7U+96KZaHix/kns/KnMgGhh8VWK0Z8auVg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1778675998; 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=mqXiqwsMcgtRt+ohdZbTvxWvNOu1PoLjIowie72xpZ0=; b=eO1Ddg2K9EjtFf1iOiWlZ/+QNCIYW3j/M4sf35390vAc0Ewks+h02cU+44+70otoQZKxiB VvdIWpXo6qbfxTmxNBNHzWa/DxDBzeNx8s/jL6CJiu0QRdZCxSdo/OodVpCm2Jzl1BHfIl nLaiEIwNtNyOTEUf04L3G/OhWZiQ17zKdKoIpC7QMIqCIflnIjeTPrVTdenVCj9q72lbgq I+QoonjYg5zi0HuBmXK5Rrf6YPvfqjTHy1R4RGZIQfrHirtNZuv9oFiVSmJaMwR58CUbhw QQ2v7h152ahEuS0O0qsVXlv8j8tD2MGZY2Deg0giCPEG0KPn7m9+GzZE8PP0GQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4gFtMf3d0Zzqly for ; Wed, 13 May 2026 12:39:58 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 1bd10 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Wed, 13 May 2026 12:39:58 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Olivier Certner Subject: git: f56201cee3e8 - main - acpi_spmc(4): acpi_spmc_probe_dsm(): Remove passing superfluous handle 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 List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: olce X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f56201cee3e8f90dd17ec287b43997983d23fdfe Auto-Submitted: auto-generated Date: Wed, 13 May 2026 12:39:58 +0000 Message-Id: <6a04711e.1bd10.15cdbec1@gitrepo.freebsd.org> The branch main has been updated by olce: URL: https://cgit.FreeBSD.org/src/commit/?id=f56201cee3e8f90dd17ec287b43997983d23fdfe commit f56201cee3e8f90dd17ec287b43997983d23fdfe Author: Olivier Certner AuthorDate: 2026-05-04 20:21:41 +0000 Commit: Olivier Certner CommitDate: 2026-05-13 12:38:24 +0000 acpi_spmc(4): acpi_spmc_probe_dsm(): Remove passing superfluous handle The handle is already held by the softc, which is also passed. No functional change (intended). Reviewed by: imp, obiwac Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D56818 --- sys/dev/acpica/acpi_spmc.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sys/dev/acpica/acpi_spmc.c b/sys/dev/acpica/acpi_spmc.c index b12723a14bee..96050705c5e5 100644 --- a/sys/dev/acpica/acpi_spmc.c +++ b/sys/dev/acpica/acpi_spmc.c @@ -332,8 +332,8 @@ failed_to_call_dsm(const struct acpi_spmc_softc *const sc, dsm->name, dsm->revision, dsm_function_name(dsm, function_index)); } -static void acpi_spmc_probe_dsm(struct acpi_spmc_softc *sc, - ACPI_HANDLE handle, const struct dsm_desc *const dsm); +static void acpi_spmc_probe_dsm(struct acpi_spmc_softc *const sc, + const struct dsm_desc *const dsm); static void acpi_spmc_dsm_print_functions( const struct acpi_spmc_softc *const sc, const struct dsm_desc *const dsm); @@ -382,7 +382,7 @@ acpi_spmc_attach(device_t dev) ("%s: Inconsistent indices for DSM %s", __func__, dsms[i]->name)); - acpi_spmc_probe_dsm(sc, handle, dsms[i]); + acpi_spmc_probe_dsm(sc, dsms[i]); } if (sc->dsms == 0) { @@ -460,10 +460,10 @@ acpi_spmc_dsm_print_functions(const struct acpi_spmc_softc *const sc, } static void -acpi_spmc_probe_dsm(struct acpi_spmc_softc *sc, ACPI_HANDLE handle, +acpi_spmc_probe_dsm(struct acpi_spmc_softc *const sc, const struct dsm_desc *const dsm) { - const uint64_t supported_functions = acpi_DSMQuery(handle, + const uint64_t supported_functions = acpi_DSMQuery(sc->handle, (const uint8_t *)&dsm->uuid, dsm->revision); /*