Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp1542752lqa; Mon, 29 Apr 2024 11:20:50 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUD9sfuX09As6Qv/xbtx15tfMmJu2qzHN/G4GR+GoZ1oOCMmBPEkEsE+3FyzcJ6ag/I8IHVZoaHYQsR17SRbPiXta99BqZJ2V/3fufVLg== X-Google-Smtp-Source: AGHT+IGRJPNzk12nGlny1YJ+jB2PShDE8+036wia7pIzhnyd3WYqN0nbl5DRpg5bZED2R8/mqXQn X-Received: by 2002:a50:f687:0:b0:56d:f54a:8765 with SMTP id d7-20020a50f687000000b0056df54a8765mr5719277edn.23.1714414850201; 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=TkJr1UOS0FY+s2MqinpHo0mWfnjGDv3VXoOD5/TOIJYUPOJIdKGV0diUa5LdgHBsW6 id1FwOGV2lYfMJTbU3eTzxfxoZxat1wDQEvmkhu2h7daraKXSX3qJmHLvJYgYHAuN19D 9asEnU9KoFMV+upHjtj3QNqMOpTOAYSbkksAsRMiNbeSL3i0whH5X53HM3qht7leTYr1 JopqmamcGyXf17OXA5RCyLtMuigjwdRLxiHSEOFJz6Z3j6raiRHAslaAh8sO7FECzxkt DMXBZclYUpCcc63qWnHNfhMGX22+e0VY+Mj8yRD5JOwQci46bEDm1AemBCbkjXeWLDu3 /ITA== 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=0guqtbRNKArBFkWDKDJOszf6J3EzFM5oGAXwPzEVBcs=; fh=Qpw42B62Erck2v/WiYV+oLQNR99MkVhyfOZAbV6FYG4=; b=pyy/y9QQJ7TAVomB8ZQ1sxNysq7b8PNSC2BGxvYCEs0W9dkdAxdBy0GSOHrOg+wmBz QBJRe7Ly051SoK/zC/hiBPxnq5c30BZz3SQmudHdAjcmfgLttgVauf8mEqBHFeMS/8Hp tLMOJvEEbU6XIUanmnEqFjw7GLzQ2LAJu8/gDqwzcqghI5cdpj8DrMyDCXC5r4YG9XPV wZQPV5pYDkn5T1/pQcNwxzUrUap24w+DqgtAKEKgmxspBIjqF7lzPtP+kPBsH1kMWSIT 0O/IDwrnPA0aS3Cuw6yqaACwJJlaZIPHNRnrU3SjMg9yTcmDHXoEgdvMptSZLdcyMKyR Lxow==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mdT1XKjP; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-bluetooth+bounces-4160-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-4160-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 m27-20020a50d7db000000b00572727642fasi2548411edj.338.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-bluetooth+bounces-4160-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=mdT1XKjP; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-bluetooth+bounces-4160-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-4160-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 E6AB51F221DD for ; Mon, 29 Apr 2024 18:20:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A018D1292DE; 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="mdT1XKjP" X-Original-To: linux-bluetooth@vger.kernel.org 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 EB3A9127E32; 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=1714414830; cv=none; b=G0dP5mb0JA0CEKckmx5ipM+eXGXCJgoVTuSq75+zpid5bqrvXxASmmQOJekA5NkYGnZgs0p8KTRN3LMHYpgPJT8Flew7qPqdawkKAEkOugqDNhjV0DBI3nwQA/l7vRlOmgQiYBw7ZuCFuvDvxWcvR/7iYzo+AL7DP89E8Cob/ZU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714414830; c=relaxed/simple; bh=EHzBYgcTZofTyZOXgV2/Ib0JRArpR6S3hfHZf6/BX18=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=GImatGSIy31/wTFlFPVqNxbdvAyXom8qIxtlzeqdEE43c/bUpW9mdRDKA9EpXUv1x9CFQAfRAKTp5iybohllC4qj9B7k2NNj7jn4KXJL3CcUedOVW0CA69g49UfTu6Ij6KMWhBmCZodSfPcYK7UsFzhZQTwMlNcpV3LXeRxpYKE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=mdT1XKjP; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id 55F6CC4AF14; 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=EHzBYgcTZofTyZOXgV2/Ib0JRArpR6S3hfHZf6/BX18=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=mdT1XKjP38gwqsuh0kyVStYoOGq7Wfpxt+VilSBcbc+BkjwTse1jmZYXONQD3Dwo7 qd2swqqADGQSmFkuwU08Sp+6ToQZGudEDF/mDtWyPKGpAypgINwVarFAhxI3cuV3FO BOgNKgMWMDVOp7ju7TQby7V5LeGCQxp+zHAGgZ2KzSqSll46vaDN0pXmYsY1AUVn97 t2mdiYlZEwDWeBB4Vv1+sQNz5+QoxLxdjTMgaH9XGd7QDD0Ufd7GlF6UHm/Uiv80XL QpMjk3f0Z2w36WFe+kPX2a2Yqu1KsfX/hQrz4du5n1t7dejnhavjL0/onVDZvO7+Ek CSViQgodpEa5g== 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 34FCAC54BAA; Mon, 29 Apr 2024 18:20:29 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-bluetooth@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: Use __counted_by() in struct hci_cp_le_big_create_sync and avoid -Wfamnae warning From: patchwork-bot+bluetooth@kernel.org Message-Id: <171441482921.19588.5976212947478581553.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 10:45:17 -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: Use __counted_by() in struct hci_cp_le_big_create_sync and avoid -Wfamnae warning https://git.kernel.org/bluetooth/bluetooth-next/c/b4208ba1661e You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html