From nobody Fri Oct 17 22:58:26 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 4cpKxH073Dz6Cs0t; Fri, 17 Oct 2025 22:58:27 +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 "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4cpKxG3bN6z4627; Fri, 17 Oct 2025 22:58:26 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1760741906; 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=RVK5FvtZ1KjJN0wGiKhTG+MhSTh/Th/7Gcjp1ijbLyw=; b=F7jEBZkvpG0Eyt0UIMkX8CQgoR8ONqxchIF6isc/t6xqtEM4+N2KRmmhWfo/yogmncHtNJ 3/yRQsw/nBsUvbJ4LfCZ55p8mL2mvekb90dlL1A3G9q08GKyUAae49s1dv2hKDBA5xQu3z ry5Sp8w+Qu7+bw4cZYGwN3q7dy6lmNukk1082NwDCmXH2b0c7i7XhwoYjK5Y5b+97TfBF2 gns0pv7V8ZeXTxFcZbEreFzaV8AP/sUJsLD3PbK2vUXj+D/PL+K3JB/emJPGF3l9l/z3FH Fwr44gU9k92z5u3xhJAAQ98TDk7es23DfDWcEesa1+LPBkoKQKBXQWTL23QQKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1760741906; 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=RVK5FvtZ1KjJN0wGiKhTG+MhSTh/Th/7Gcjp1ijbLyw=; b=IMmd9r8RMyGNpQKJkup4bLgFpltMcmlZgnnXpH08k82rNdVp5JH7A8GQ/I2/1TU+fWZEf0 D7CyvX0UMi3o/+K2dc2SdYE1A110Edl8GfMuvU9kU1IgdCIGjv36sCVLJUubnu7jIYxJGQ XizFlnSPldmHrEr/JvbdPHNZ4gU6EupNRP3zh8u6WGDiAuy8F+k7BDPNmgiMcPYxxe18ko RUpXTVJ9bpxd/goPN6poVLntk+7/HtpF//NtRCol5GMcjrir0wVXUo160Xjqc+v2yL+3vC S2f3e5grG6KMN/LOKUUTjDi4eI6EmfSPjcliLbpLMjtZBqboFW9wpca/HSAJBg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1760741906; a=rsa-sha256; cv=none; b=C6xpOi1sXiSsVK8EGOSivksHPOCWNgQgVjaGmreWcxjcF4paZnXdK+owiIac9+w7ZUy25W 5+qXvICIuAWzb4fu7xRzp1PwEeF/aLeZlzWwejZBjMGm9I82ENa+pIg4l3AcJmuNMULzNe X2b786O2CNXolUDRxUchOFrZKVPVlTQqghWnELEHBv+Zqxjzrc8HdclnqYUKRd/1rTlA0n t0aOvheDG8P4ooTWv3cduR7JzJda82hgNzTyjgTqBC/3kBGv9VlN/IMTKWdK+3FOPLXtSG Qaf28fZVPSlivslMDLmTEkn7M8GnFtmomHjTQoFrwXDfV1VfP/LT5xnhDYe3Vw== 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 4cpKxG303lzP6; Fri, 17 Oct 2025 22:58:26 +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 59HMwQPf048181; Fri, 17 Oct 2025 22:58:26 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 59HMwQ6l048178; Fri, 17 Oct 2025 22:58:26 GMT (envelope-from git) Date: Fri, 17 Oct 2025 22:58:26 GMT Message-Id: <202510172258.59HMwQ6l048178@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Ryan Libby Subject: git: 5bd3ce4ef629 - main - achiem: quiet gcc -Warray-bounds 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: rlibby X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 5bd3ce4ef629d2ffd57b4b58a7e7d56cb0e171a8 Auto-Submitted: auto-generated The branch main has been updated by rlibby: URL: https://cgit.FreeBSD.org/src/commit/?id=5bd3ce4ef629d2ffd57b4b58a7e7d56cb0e171a8 commit 5bd3ce4ef629d2ffd57b4b58a7e7d56cb0e171a8 Author: Ryan Libby AuthorDate: 2025-10-17 22:43:06 +0000 Commit: Ryan Libby CommitDate: 2025-10-17 22:43:06 +0000 achiem: quiet gcc -Warray-bounds gcc complains about accessing the byte as ads->common.bytes[3] as that field is declared as being one byte. Reviewed by: mav Differential Revision: https://reviews.freebsd.org/D53152 --- sys/dev/ahci/ahciem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/ahci/ahciem.c b/sys/dev/ahci/ahciem.c index c9e6c35f4233..012796aa5d6f 100644 --- a/sys/dev/ahci/ahciem.c +++ b/sys/dev/ahci/ahciem.c @@ -479,7 +479,7 @@ ahci_em_emulate_ses_on_led(device_t dev, union ccb *ccb) else ads->common.bytes[0] |= SES_OBJSTAT_NOTINSTALLED; if (ch->disablephy) - ads->common.bytes[3] |= SESCTL_DEVOFF; + ads->bytes[2] |= SESCTL_DEVOFF; ahci_putch(ch); } ccb->ccb_h.status = CAM_REQ_CMP;