Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp96519rdb; Thu, 5 Oct 2023 18:40:49 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGulr/CWv9McobvSLdet/l0ZzJsyi/CtFRvpuswYjPUPqP0HnN0QYl8o4Mw1pIJ8Cf1MqwI X-Received: by 2002:a17:902:ea07:b0:1c8:7489:56dc with SMTP id s7-20020a170902ea0700b001c8748956dcmr7440128plg.55.1696556449066; Thu, 05 Oct 2023 18:40:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696556449; cv=none; d=google.com; s=arc-20160816; b=bVTXN+xPqSPthGy9fMMmjAy0Go+FImIPUlyEIGOtQ73WZhgXU6C+9JKIKvd8WfzM7o 1mR0ZIfW8tC2ysCu/gUtupogF+Cz/sXrePGo6t7LVHHdXCEXkpYDS1fLnfFN3rbfdZrB xzRKAc7iLHHVADJtjtdmcJWKr+h0yjxoVOSWNmxdlYlkFqCDHZ0i3rnYmi2OkE5Q7MGp bzZh7VH1ULeO6uv58moMfU2mKQnF7xpFjLpS9fKHv1l2yy+FXLR9V+Gftutv0bgnw58b CuM0a3nWdKdVmKlrFnklDw2V2jHVF9MXtW/PsSnV01OnA3GPVHBJJkMny+Z0ls4USW9e WqqQ== 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=N4538aXoSOi2ieTTiHkrY6AH6mw0cgnol/NmJ+9yMyk=; fh=JkXmZPauac0prAtPPq+Bx19B0nT1agPsg00ZUgXOcFU=; b=Wap1whwli8lbcbeqrEbGmzT2VXIBthTdPzh2kACzSNoUhQh+4/91JzhvFGBj80o5AO TKAMJY4aNLT4eHobshAeHj5MMXPNRX1hXq+V6SZeXDnkzQDnhKw9iPXn+LHE3XGr6vaY TTKXAIxu2kGS4fkLIxgDSPHzcAmEmPiMNlI9OE3jGJdTG5QRhEXM0rvNwRUtXK4Fi28H d9lDUtsnBdyrkW5ez8GOy1vfdtkfSG2NixGB2I0dW6ByOiy2s1wq6Ebv2Yl45BqurjaB RBWeLcve7Lk93FMiPiH+3oEawWR9861bbTrUQcXI4kd5k9K5woUTjkHhQUkaJlXZiIXi Wipg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=A4gy7FOO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id x6-20020a170902a38600b001c5f9de7a35si2563224pla.109.2023.10.05.18.40.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Oct 2023 18:40:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=A4gy7FOO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (Postfix) with ESMTP id 01AC08074E20; Thu, 5 Oct 2023 18:40:47 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229693AbjJFBka (ORCPT + 99 others); Thu, 5 Oct 2023 21:40:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46058 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229595AbjJFBk1 (ORCPT ); Thu, 5 Oct 2023 21:40:27 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BCCF5E4 for ; Thu, 5 Oct 2023 18:40:26 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPS id 369FCC433D9; Fri, 6 Oct 2023 01:40:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696556426; bh=Ybo4PA+YOfwHZpwG7F/ih3tq0pio/1SFsEdxpMf6r90=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=A4gy7FOOEFBLp+72P2HX9SBrrMGxjF3zHnLKAk/YUwO1+AZVdxXjIKo/XZqzDk0kF jNWAkSrVA/mA1dhI5kpJpQ52pgSvCdw0cGhXTJ4fA13UpAz2tyyyvGAWCX+ycoGO3l 0YRA9XVKq7jnsxFXf2LBx9fvOdGwOyzPdCb6xwg67ajYR39LTU5H6+gg6g/tBFIkCK txD7meyQqCC0PqRd0rtu0xy+KhP+TIZ9hf+eJNuq7Pw5oJoD/Y3kg1QMt7CqQnxXzW AFIyXsU7C5Udh8UaRanl7M6dHjglHMDMeVEZTQvvFxATkSepM69JYb7VfgvFvlXskc iah+SLQCq89lg== 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 1A346E11F52; Fri, 6 Oct 2023 01:40:26 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] nfp: Annotate struct nfp_reprs with __counted_by From: patchwork-bot+netdevbpf@kernel.org Message-Id: <169655642610.20160.13967622151608370397.git-patchwork-notify@kernel.org> Date: Fri, 06 Oct 2023 01:40:26 +0000 References: <20231003231843.work.811-kees@kernel.org> In-Reply-To: <20231003231843.work.811-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, 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 morse.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 (morse.vger.email [0.0.0.0]); Thu, 05 Oct 2023 18:40:47 -0700 (PDT) Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Tue, 3 Oct 2023 16:18:43 -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_reprs. > > [...] Here is the summary with links: - nfp: Annotate struct nfp_reprs with __counted_by https://git.kernel.org/netdev/net-next/c/4514aa9f56fd You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html