Subject: Re: [PATCH][next] net: wwan: t7xx: Add __counted_by for struct t7xx_fsm_event and use struct_size()

From: [email-masked]
Date: Fri, 13 Oct 2023 09:20:27 +0000

Hello:

This patch was applied to netdev/net-next.git (main)
by David S. Miller <[email-masked]>:

On Mon, 9 Oct 2023 15:46:18 -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).
> 
> While there, use struct_size() helper, instead of the open-coded
> version, to calculate the size for the allocation of the whole
> flexible structure, including of course, the flexible-array member.
> 
> [...]

Here is the summary with links:
  - [next] net: wwan: t7xx: Add __counted_by for struct t7xx_fsm_event and use struct_size()
    https://git.kernel.org/netdev/net-next/c/2dd307189220

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html