Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp1542761lqa; Mon, 29 Apr 2024 11:20:50 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXqtsIH64gRfzL/m32L0OIu8YDnQAqKYiibG9bk4y9tsXzDZwk0ZQJCSEA7GohrWbhqzjHJr5sexHuLOLptjumd7UaaP60XY3AJ0AbpJg== X-Google-Smtp-Source: AGHT+IFBAyjbmevIoi9AmXwUrUFJp7xVEJegPNhjH5TCCz7r1boY2FAmXKZKvgF4Dfd1GB1C7ZZR X-Received: by 2002:a17:906:3102:b0:a58:9707:6857 with SMTP id 2-20020a170906310200b00a5897076857mr7435637ejx.12.1714414850739; Mon, 29 Apr 2024 11:20:50 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714414850; cv=pass; d=google.com; s=arc-20160816; b=FjWkkrXlluZkBbytC3smsL8h6XlPGQIIWjTDSRpzWM019hXCGf1f/LXpNWdLZx90i9 O8roUwyF5bR1nVR8y0D8/yNuuzT2LrFQqSrzSweWIpce1REL/ARN5VTkUVvBg95yYBaE zv6BNNNEiQpRwM3dfQII00BSjTGaLlWNYCGQd5okPxJRgF57byUvR1pTFWS5z3hXOK4u y2tIimAm4HrgYfOHxYc5ZzWfyJd6kd/uzF7reD9p6S/w9oRuNeDfVtdLirgERjXhuJI2 kUQvZQi2U6B8T30s9QoUzdT4E0x9N9Wcg9TCqIWyUob7sHzb0W6bC0tDtVluUS194R1V UGwg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:date:message-id:from:subject :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=TRziAPAxIE/i0klBXYjk2mzh5M60o2nPZxWzjU52khA=; fh=Qpw42B62Erck2v/WiYV+oLQNR99MkVhyfOZAbV6FYG4=; b=eFEp4eq8D7YnOThhZvmoyONuSDxPAen76zwPYd4Dcq5QARMUYiUHHEYSyQegKWOdK4 sL7N5DIHMsGwv9Kyuzko9IJ/HQ632/esTAtaQ3J8ATG/06dWyrGRtFPvYydfy0UzIls5 Kfcy56AMCSlG+ATlOYkBO5yrnWdeiL1CsRFLAIhcc5PWz7/QS2Ms0w6dS21YQ1ri6zwZ 1nSYjqLvsW7wpJCkTH8j9VMmXTCy4UxcuZocG5MGaFNBmbTaW21j7iSx9WwxtUrXuJfp Eqqunuon+r2RQ8lZP9qd5uwuvt6AAUjSzutDCWXSLkztczh1OKBDIwD9cMMGL1RSw5t3 LLBw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XGR+pspE; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-162820-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-162820-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id b4-20020a170906490400b00a588393ac8bsi7987227ejq.295.2024.04.29.11.20.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Apr 2024 11:20:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-162820-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XGR+pspE; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-162820-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-162820-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 760091F22077 for ; Mon, 29 Apr 2024 18:20:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A8F911292E1; Mon, 29 Apr 2024 18:20:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="XGR+pspE" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C49AB83CBA; Mon, 29 Apr 2024 18:20:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714414829; cv=none; b=pigJBSfrllSylYRyzsxg62dA/8Rirlh6QuGEuoXBLgU4r/ljiEGyAI5K5pm07r/aW1UijjKnbploRLedl0xQW5E2Tm7TIFDQPuKpYIp/868OmsBS8Gq1bj0tjLTuIeK8MW932UcOC74ga58pmLzZThQZrjiesc2yjdA9m7HI/uM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714414829; c=relaxed/simple; bh=dGmtY5+jMF8PJ9ZV/XXsNc7WuNrNyi/xT8wF2Jt8Tew=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=kdKzYFR0TFhnC0ObH/CD4YIuUtM/Bw49BvMuCLuk04eBt+6gVVntjMsYP5E7LKzl3kb3PRaNqvSyaOsEb3vF4eOowFQYxQ71/7MQwHo63bK7qngM0O1qxl9ttr+yeofnMIYgA1dI/PGOQXAGuLk4aF8a4pzQy1p7qyzWYuL7qy4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=XGR+pspE; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id 44D44C4AF18; Mon, 29 Apr 2024 18:20:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714414829; bh=dGmtY5+jMF8PJ9ZV/XXsNc7WuNrNyi/xT8wF2Jt8Tew=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=XGR+pspE7/UvDD/fF7masf3/K/2bOkEpdlDXmCOyyoNPfv1sHV7bGtSBa5fVkKEhr E2M4khx6drfiljSZ0ECBx3uiNeYP1QhFCj0gHm8FJBMr+uO/hTFnl8AyOtqmU8iYn5 PxNGp1pUai40N/tYddU4b/VmYDwRvc2YxfYrNufycRewKpdZomgKDu8h6nRPLvrZHS uoT2v/ktmU3eA18ihQwDn3WPC7tMorESQs/WRQKHcsLGJ0O4fX+hyjy5F9BjOF5GZ5 I+9SERix7/pNhDlRqQekBzuZ6row2SUq5wJLVcZptoZ0libdm6+qMoDnU6k/49UYpK TOzoDLQz3nwCQ== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id 2B2DFC54BA4; Mon, 29 Apr 2024 18:20:29 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH v2][next] Bluetooth: hci_conn, hci_sync: Use __counted_by() in multiple structs and avoid -Wfamnae warnings From: patchwork-bot+bluetooth@kernel.org Message-Id: <171441482917.19588.12121377571825862900.git-patchwork-notify@kernel.org> Date: Mon, 29 Apr 2024 18:20:29 +0000 References: In-Reply-To: To: Gustavo A. R. Silva Cc: marcel@holtmann.org, johan.hedberg@gmail.com, luiz.dentz@gmail.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, linux-bluetooth@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org Hello: This patch was applied to bluetooth/bluetooth-next.git (master) by Luiz Augusto von Dentz : On Fri, 26 Apr 2024 16:52:46 -0600 you wrote: > Prepare for the coming implementation by GCC and Clang of the > __counted_by attribute. Flexible array members annotated with > __counted_by can have their accesses bounds-checked at run-time > via CONFIG_UBSAN_BOUNDS (for array indexing) and CONFIG_FORTIFY_SOURCE > (for strcpy/memcpy-family functions). > > Also, -Wflex-array-member-not-at-end is coming in GCC-14, and we are > getting ready to enable it globally. > > [...] Here is the summary with links: - [v2,next] Bluetooth: hci_conn, hci_sync: Use __counted_by() in multiple structs and avoid -Wfamnae warnings https://git.kernel.org/bluetooth/bluetooth-next/c/4a4008a5b0e3 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html