[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<169092722585.12287.10967772625799606285.git-patchwork-notify@kernel.org>
Date: Tue, 01 Aug 2023 22:00:25 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Atul Raut <rauji.raut@...il.com>
Cc: avem@...emloft.net, netdev@...r.kernel.org, kuba@...nel.org,
pabeni@...hat.com, rafal@...ecki.pl,
linux-kernel-mentees@...ts.linuxfoundation.org
Subject: Re: [PATCH] net/macmace: Replace zero-length array with
DECLARE_FLEX_ARRAY() helper
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Sun, 30 Jul 2023 16:14:42 -0700 you wrote:
> Since zero-length arrays are deprecated, we are replacing
> them with C99 flexible-array members. As a result, instead
> of declaring a zero-length array, use the new
> DECLARE_FLEX_ARRAY() helper macro.
>
> This fixes warnings such as:
> ./drivers/net/ethernet/apple/macmace.c:80:4-8: WARNING use flexible-array member instead (https://www.kernel.org/doc/html/latest/process/deprecated.html#zero-length-and-one-element-arrays)
>
> [...]
Here is the summary with links:
- net/macmace: Replace zero-length array with DECLARE_FLEX_ARRAY() helper
https://git.kernel.org/netdev/net-next/c/005c9600003e
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists