public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
From: patchwork-bot+netdevbpf@kernel•org
To: Erick Archer <erick.archer@outlook•com>
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
Subject: Re: [PATCH v3 0/3] RDMA/mana_ib: Add flex array to struct mana_cfg_rx_steer_req_v2
Date: Thu, 11 Apr 2024 14:50:27 +0000	[thread overview]
Message-ID: <171284702766.5792.6538200625585720132.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <AS8PR02MB72374BD1B23728F2E3C3B1A18B022@AS8PR02MB7237.eurprd02.prod.outlook.com>

Hello:

This series was applied to netdev/net-next.git (main)
by Leon Romanovsky <leon@kernel•org>:

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



      parent reply	other threads:[~2024-04-11 14:50 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-06 14:23 [PATCH v3 0/3] RDMA/mana_ib: Add flex array to struct mana_cfg_rx_steer_req_v2 Erick Archer
2024-04-08 11:07 ` Leon Romanovsky
2024-04-09  1:36   ` Jakub Kicinski
2024-04-09  9:16     ` Leon Romanovsky
2024-04-09 17:01     ` Edward Cree
2024-04-09 21:44       ` Jakub Kicinski
2024-04-11 10:58         ` Leon Romanovsky
2024-04-11 14:40           ` Jakub Kicinski
2024-04-11 14:50 ` patchwork-bot+netdevbpf [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=171284702766.5792.6538200625585720132.git-patchwork-notify@kernel.org \
    --to=patchwork-bot+netdevbpf@kernel$(echo .)org \
    --cc=davem@davemloft$(echo .)net \
    --cc=decui@microsoft$(echo .)com \
    --cc=edumazet@google$(echo .)com \
    --cc=erick.archer@outlook$(echo .)com \
    --cc=gustavoars@kernel$(echo .)org \
    --cc=haiyangz@microsoft$(echo .)com \
    --cc=jgg@ziepe$(echo .)ca \
    --cc=justinstitt@google$(echo .)com \
    --cc=keescook@chromium$(echo .)org \
    --cc=kotaranov@microsoft$(echo .)com \
    --cc=kuba@kernel$(echo .)org \
    --cc=kys@microsoft$(echo .)com \
    --cc=leon@kernel$(echo .)org \
    --cc=linux-hardening@vger$(echo .)kernel.org \
    --cc=linux-hyperv@vger$(echo .)kernel.org \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=linux-rdma@vger$(echo .)kernel.org \
    --cc=llvm@lists$(echo .)linux.dev \
    --cc=longli@microsoft$(echo .)com \
    --cc=morbo@google$(echo .)com \
    --cc=nathan@kernel$(echo .)org \
    --cc=ndesaulniers@google$(echo .)com \
    --cc=netdev@vger$(echo .)kernel.org \
    --cc=pabeni@redhat$(echo .)com \
    --cc=sharmaajay@microsoft$(echo .)com \
    --cc=shradhagupta@linux$(echo .)microsoft.com \
    --cc=wei.liu@kernel$(echo .)org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox