From nobody Wed Jun 24 15:27:04 2026 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 4glm552291z6jMmf for ; Wed, 24 Jun 2026 15:27:05 +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 "YR1" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4glm551S3Dz49Bt for ; Wed, 24 Jun 2026 15:27:05 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1782314825; 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=EGSRS+8HeFOd8bFy9RRLz6uckaibo8sq1NpT1UuoRbo=; b=ownz6J8rPwxFqj4QMsBXHNl1KsJEYrh8UKRpLrn+tS1buWT+USQu289JM8P2646h942xX2 irO54zus/1iMNnZJGc8zd5mhzidFxD4rZCAf9ERTL2VRAg49FW0jk/LH+kvylnYhQviATs 2mbXU2GAPASDRETX6i10LNfLQHVovR5HE63/tXCGNeDvlRZrHYq0kaTnfj83VF4YYlLCMq M4m8LJAW99rHxabcR53BVwtCyq5+xT8+695jQPQi4lccCOgvxE2HcgBSZaQU2zz1K+QFME Nh1W6PK1/DsZeyQDCH+u8X+stTZ2tDKX2bpLVEpMIHZD9XCpMGPFWGxHU0hPvA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1782314825; a=rsa-sha256; cv=none; b=K8SRMS7N7eYYx+8KTN73e8Pqj96uc1RZkFef7jZn9hyT7hfwpAJcsRfTUFidUrqR/Uo3mD Dv4i1571VGs1S6rz9Y08D6YZkd+WbM8CwEF3vnVXUr2cZOP/4vQmZZ2VmIHl7ltiTtSdoS bmPiBsLh1nmNTKlyoOVGmPHCnKhLOIj5W+KvDXQNaFBPEKn6x+BAqVjJd8dVyBc3l7xn07 Y3qNHk2CuwAeys4mJytSWbJRclkyCJ6bOeUDlEPBhRqwle2iqXtsUuJo6ens26ybXiMHyk D0i8OHEYidoOLumLtJjf/qUlf9FP5+oZUDrnW25GMysZrzd7C2BhPEeGHi6wcg== 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=1782314825; 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=EGSRS+8HeFOd8bFy9RRLz6uckaibo8sq1NpT1UuoRbo=; b=BoYL06g7Ai0ns+u6pLKwrPg8GqJW6unJIPXiRo2HQcrauKCXQStHBJUkQaZFL10L2FkPjM 6pveQu42t7nysVgvUAzCW7sOmKxAt3sWGHptyZR/t7wZ34a99IweUq9eTwDMpoCtuLop3H GZe7VgkSSfmCzdwunfe46GuQs2Io5e5bYbV7Lp4ckPJa57X1AV/+x78cVKw8hWNNrqqdj0 uanANAqHULXiZQS1SeIZddAy5gk5V4O9yVIDgiE2zuNii2wUCBa8TrTPiIwWXxYOp8iEEQ +GgKmOnOE/34wj2oWhDsli5NT7NeRxS0QW9Z34oLnq9GnKDUQTgSb1iiY1nQEw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4glm5502Q2z9Xw for ; Wed, 24 Jun 2026 15:27:05 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 21d4a by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Wed, 24 Jun 2026 15:27:04 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Konstantin Belousov Subject: git: 31b7d80016a3 - main - acpi_support/acpi_ibm.c: move the 'key' definition to the block that uses it 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 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: kib X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 31b7d80016a37e4de10f166bc7ff353c7d1ef534 Auto-Submitted: auto-generated Date: Wed, 24 Jun 2026 15:27:04 +0000 Message-Id: <6a3bf748.21d4a.5b450d0d@gitrepo.freebsd.org> The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=31b7d80016a37e4de10f166bc7ff353c7d1ef534 commit 31b7d80016a37e4de10f166bc7ff353c7d1ef534 Author: Konstantin Belousov AuthorDate: 2026-06-24 15:23:12 +0000 Commit: Konstantin Belousov CommitDate: 2026-06-24 15:26:33 +0000 acpi_support/acpi_ibm.c: move the 'key' definition to the block that uses it This eliminates a warning from compilation of kernels without EVDEV_SUPPORT. Fixes: 7e7f8b2c6641 ("acpi_ibm: Report mic mute key evdev events") Sponsored by: The FreeBSD Foundation --- sys/dev/acpi_support/acpi_ibm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/acpi_support/acpi_ibm.c b/sys/dev/acpi_support/acpi_ibm.c index f2a2db2de657..361f243e5a1f 100644 --- a/sys/dev/acpi_support/acpi_ibm.c +++ b/sys/dev/acpi_support/acpi_ibm.c @@ -1510,7 +1510,7 @@ acpi_ibm_eventhandler(struct acpi_ibm_softc *sc, int arg) static void acpi_ibm_notify(ACPI_HANDLE h, UINT32 notify, void *context) { - int event, arg, type, key; + int event, arg, type; device_t dev = context; struct acpi_ibm_softc *sc = device_get_softc(dev); @@ -1538,7 +1538,7 @@ acpi_ibm_notify(ACPI_HANDLE h, UINT32 notify, void *context) acpi_ibm_eventhandler(sc, (arg & 0xff)); #ifdef EVDEV_SUPPORT else { - key = -1; + int key = -1; switch (arg & 0xff) { case IBM_EVENT_BRIGHTNESS_UP: