Received: by 2002:ab2:1347:0:b0:1f4:ac9d:b246 with SMTP id g7csp451881lqg; Thu, 11 Apr 2024 07:50:40 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUaQIb8ZZJtsK4Z6qUHKd+bx/vmxj3/e23W/MJKBpscyM+9UlwZFOWDSmxk2r6xv6VAHjRjD0d3ZmG7Jqk65wZH//DU2B7Kfw6ptsQKCA== X-Google-Smtp-Source: AGHT+IFK4VXN8qqg4Q0/W36ZJd/HyE+6LvnJQDx9G2RmxGvPFrdu0VGPglcYXUDyqxf533hn6neK X-Received: by 2002:a05:6a20:3246:b0:1a7:6e6:edd6 with SMTP id hm6-20020a056a20324600b001a706e6edd6mr16435pzc.52.1712847039703; Thu, 11 Apr 2024 07:50:39 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712847039; cv=pass; d=google.com; s=arc-20160816; b=glHxOhGxN8g6eI2ozbPOVPeIEHHKDuiLOVd9cUJAjpnh6kOkyR28IVsIRW6j6whXK1 LJ3eQAPlQ2AuMoeZhgUz/PW0Qv4i1MNZ0zJpllqGlWix6ldMG8DW1Uz0Q2GiGnWCJBFs y1+KEbGEcsJYcqb2yVwlZoYQ66+SW2+b/eTQ6T89J7l1s3qoTZ+THrVMDavBMAJwrgig S498ybE3KkoQS2bGD6d6r5KvHv9IpVQyMNvK9XrDemwgXwJZkVSf2erxkYtQthOgu299 iLJy4HAx2FXCg9T8sFOXZZpKAVQq2dOgriLVMGNAhg7qQ9n55Mlg4XSol263aLW8Hkre juRA== 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=3yRb2p6SGJwscQONFmitI+oEGI1FCGWi0LazINubc1w=; fh=bYxOsWijQV8yXKehkXGF6+C6gLQ7x/dkeRzGVwsI+gI=; b=u4a4a/6lNUA1zHJkTXHsilKuYoYgpZ8ONsD0EGKzz39B735MSynZBJ96Ltr59CYjUQ sTI7e4WuxZNyVx9Z6/wvtwh6Ne+vRDsPST8hmgA2o9s8HOpzfWlnKTpXpyRGc3bdgrBN Tk7xXFkCfp8xgVfoFnbZEKHPhJ+Vju23EJqrM3hjHL8uJeUX0vE3Yzxoer6YojYnVhfZ LlvDYr9MBNWgk1QGdPLgweVfZ0Z+oIpi55tU0QhawGUdotZJMzN/wPkGFtIGoTCYaRqL UHsoG1VIEolJWhFnp6hFPAbFMqbtF/vB1N+9gmxmDtbRmDZwcuHGw1Zf48vX3x1hvMP6 HyYg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Jd5AQd9c; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-140695-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-140695-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id q2-20020a056a00084200b006e72d056ae5si1534766pfk.276.2024.04.11.07.50.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Apr 2024 07:50:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-140695-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Jd5AQd9c; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-140695-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-140695-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 30A4C283D3D for ; Thu, 11 Apr 2024 14:50:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1528FEAFA; Thu, 11 Apr 2024 14:50:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Jd5AQd9c" 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 2AA68D534; Thu, 11 Apr 2024 14:50:27 +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=1712847028; cv=none; b=r5/4x9E0dBNrteonZqQuuDLp+wB2wuyXFYxsx95dqCuAucfEatRSaBv8atQWmeFMl0QTAXMLm1yP8ou8tWhqJXl93pWaaKh3aZDV269H/aJ3zKY/NByf5F7f79H5La5UaiEZlmptzXtPi7HSE4Ww4/BUXcK3yxBS4JmpuOLbT9Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712847028; c=relaxed/simple; bh=RK8HPzL73Quew+tMOrVpkfmMzV4s5rg6BXSQRmSLg8w=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=Y7rQJEkNKqSqQSAvRxrF3OAGKcJ6Y0lvnWjpyca7CS8VpIbYMZHGcPq03PYzGMgIIS0+w/LS+opr8IbIp5R7srIobXGX3Nd15efnvswQLdlbGG8HwMVtczSxgK3U5fwFKVtqulleMSaPPGaCyT1NC8g3Yw1IcphwAg7EnXHrcjw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Jd5AQd9c; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id B9A01C113CE; Thu, 11 Apr 2024 14:50:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712847027; bh=RK8HPzL73Quew+tMOrVpkfmMzV4s5rg6BXSQRmSLg8w=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=Jd5AQd9c+Y+DVjeZhRA51xRwPAFPk6ny9Nly0y/GGIhczEKr22hWMYCjS18dsAbcm SBvNIG6yngZiZjIFrzq3yM41dxSy5YvzBJXVyvpgBMrdFVf4EVKS2K5cLuPVkNWung 3eC9SvbTIAM9/ksLbXoQE93t6AUsWvQTZWbiF1VYooRD0dy7gqU101QW9cCW9oEOnT +MK0xXDmbSEY0Co6guBWZukqGhMkwOSoBhUulamUCMO/9z7fm0RfxIlgXKSB2znv97 TSy7J79SVgJFcl5MaxOCfihWDsIeZky6uT++YnsTeenQO7oUvKaNdBFXYujUjq7RDJ Kz6gFOWlrbORg== 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 A465FC4339F; Thu, 11 Apr 2024 14:50:27 +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 v3 0/3] RDMA/mana_ib: Add flex array to struct mana_cfg_rx_steer_req_v2 From: patchwork-bot+netdevbpf@kernel.org Message-Id: <171284702766.5792.6538200625585720132.git-patchwork-notify@kernel.org> Date: Thu, 11 Apr 2024 14:50:27 +0000 References: In-Reply-To: To: Erick Archer Cc: longli@microsoft.com, sharmaajay@microsoft.com, kys@microsoft.com, haiyangz@microsoft.com, wei.liu@kernel.org, decui@microsoft.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, keescook@chromium.org, gustavoars@kernel.org, nathan@kernel.org, ndesaulniers@google.com, morbo@google.com, justinstitt@google.com, jgg@ziepe.ca, leon@kernel.org, shradhagupta@linux.microsoft.com, kotaranov@microsoft.com, linux-rdma@vger.kernel.org, linux-hyperv@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org, llvm@lists.linux.dev Hello: This series was applied to netdev/net-next.git (main) by Leon Romanovsky : On Sat, 6 Apr 2024 16:23:34 +0200 you wrote: > The "struct mana_cfg_rx_steer_req_v2" uses a dynamically sized set of > trailing elements. Specifically, it uses a "mana_handle_t" array. So, > use the preferred way in the kernel declaring a flexible array [1]. > > At the same time, 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). > > [...] Here is the summary with links: - [v3,1/3] net: mana: Add flex array to struct mana_cfg_rx_steer_req_v2 https://git.kernel.org/netdev/net-next/c/bfec4e18f943 - [v3,2/3] RDMA/mana_ib: Prefer struct_size over open coded arithmetic https://git.kernel.org/netdev/net-next/c/29b8e13a8b4c - [v3,3/3] net: mana: Avoid open coded arithmetic https://git.kernel.org/netdev/net-next/c/a68292eb4316 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html