Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp264241rdb; Fri, 6 Oct 2023 02:50:48 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGY7LFnfcE46i2zdrFMIT5BFrPI3fAPrLze5dztz10gPEcEWuwoW5DqtooxJw6wmdXllOwz X-Received: by 2002:a17:90b:4c08:b0:274:98aa:72d8 with SMTP id na8-20020a17090b4c0800b0027498aa72d8mr7694891pjb.3.1696585847775; Fri, 06 Oct 2023 02:50:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696585847; cv=none; d=google.com; s=arc-20160816; b=eaWRkqS3GH8AhUPgERzphM2AWUglcPxvgxBCAPfRbmJRICl+gW7DDCoPZ/6lh2iWTC qs1A3byh+evqB9qGi6JhoS9QnXBcQa9UTURA1fwKt6WlS+XPl0sEWd/U+hSkWGDgtbVL y6t9GTTtE6dcXPmxMdiYmARk6sM7RjPhFJnnNLvgxA3A4KTHNPy8LIQnMMQRzsBgqxxK S+tJUoyk9NqZ6rIACtvZA3RiHubJEZaTR2n8OroEdx8nD3Q20kqMhjOlFXsj3RPTNPna /F+S6yUbzAVqE0FbB2vDg6nHAbbfGPwCkvr2+SjzkFHNfEuDKUHDXj2p5Y3LStM9Fkhu /jiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:date:message-id :from:subject:content-transfer-encoding:mime-version:dkim-signature; bh=Em+anGf6hnO7fWkgpZQNecm7mu1FWiqFECzjm+Dt8MM=; fh=9JWg1FwA06Bl7NX2I2UZf+zWhe/gnZPIyC/5rg2O8h8=; b=rA/g4mRdkvlRjpP3PcYxB/+tS6JZiRKTO5Ft0edxECrrnFeuAm75IS0N9HVMNApOFh cLujBVejBi3jNwLWS/tkjicx/24gxeIfzN1v0tcPVT1fwkMY1P9Te01ctZwn+N/u0C8Y KINUQoef/lxgAP6QVwAd1OqCiKO1eyDxTichp2kUFOl2wR+/WtsYQjgAAYWCrYLWdbW6 2bZZEr020xx21hYeXvY40SAeXDIgGnyz5InI06DZ/B+UHfDj7UJ/e96VWwefKDz5AG8p b1HFg+dLUee1WoB8O3nlvqF8ntTff19HnoFIgTwpdJ0e7iAHVI3cg7p9k3RfQE+2WK+y VvAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=u5DeaUBr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id b11-20020a17090a6acb00b0027907babca7si5554314pjm.166.2023.10.06.02.50.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Oct 2023 02:50:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=u5DeaUBr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 8901585A01C9; Fri, 6 Oct 2023 02:50:42 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231492AbjJFJuc (ORCPT + 99 others); Fri, 6 Oct 2023 05:50:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38614 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231443AbjJFJua (ORCPT ); Fri, 6 Oct 2023 05:50:30 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 18B579F for ; Fri, 6 Oct 2023 02:50:29 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPS id A7AEEC433C7; Fri, 6 Oct 2023 09:50:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696585828; bh=DB25WW5JRRa7D1F/ujLNSDRPpW0Qqsm6WYlxIRg7JLM=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=u5DeaUBrmspBK9rK4PoAasfnbBFyW/wP9HTAwKeDAF7gaZ6LJksMRU7Y2vtWkeWBn 7Wr7iAWbd0pcz9R8hAPSLAlZeLfqpJE5799o1mNs0vS9pYSaqc1IRpEdDnc73LiQKp o25CK/qFA6sBtdoaWxoZ/gjelOdcaePlsfbQjXDRzxxz7qgoSd+w0G6VWv4yfAFAwR A5e1P5VcNGd5fHttEBfr1MGEntUsaQg0mGY+pl0raRQT7Mmj0bAZKs8kqaieBjc7xW OiNwXiYMqfBIkBx27mxZ1HW4ReeO2WyJrUB5xEfiSh8/mYi6vQgiExBYsiypcMgpP3 cZH/c+wMT2Bow== 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 89CFBC64459; Fri, 6 Oct 2023 09:50:28 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] nfp: nsp: Annotate struct nfp_eth_table with __counted_by From: patchwork-bot+netdevbpf@kernel.org Message-Id: <169658582856.14501.12006275087364255603.git-patchwork-notify@kernel.org> Date: Fri, 06 Oct 2023 09:50:28 +0000 References: <20231003231850.work.335-kees@kernel.org> In-Reply-To: <20231003231850.work.335-kees@kernel.org> To: Kees Cook Cc: horms@kernel.org, simon.horman@corigine.com, kuba@kernel.org, davem@davemloft.net, edumazet@google.com, pabeni@redhat.com, yinjun.zhang@corigine.com, leon@kernel.org, yu.xiao@corigine.com, sixiang.chen@corigine.com, oss-drivers@corigine.com, netdev@vger.kernel.org, louis.peens@corigine.com, gustavoars@kernel.org, nathan@kernel.org, ndesaulniers@google.com, trix@redhat.com, linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org, llvm@lists.linux.dev X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Fri, 06 Oct 2023 02:50:42 -0700 (PDT) Hello: This patch was applied to netdev/net-next.git (main) by David S. Miller : On Tue, 3 Oct 2023 16:18:51 -0700 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). > > As found with Coccinelle[1], add __counted_by for struct nfp_eth_table. > > [...] Here is the summary with links: - nfp: nsp: Annotate struct nfp_eth_table with __counted_by https://git.kernel.org/netdev/net-next/c/178e9bf9b57d You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html