From: Simon Horman <horms@kernel.org>
To: "Gustavo A. R. Silva" <gustavoars@kernel.org>
Cc: netdev@vger.kernel.org,
Jesse Brandeburg <jesse.brandeburg@intel.com>,
linux-kernel@vger.kernel.org, Eric Dumazet <edumazet@google.com>,
Tony Nguyen <anthony.l.nguyen@intel.com>,
linux-hardening@vger.kernel.org,
intel-wired-lan@lists.osuosl.org,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
"David S. Miller" <davem@davemloft.net>
Subject: Re: [Intel-wired-lan] [PATCH 3/4][next] i40e: Replace one-element array with flex-array member in struct i40e_section_table
Date: Wed, 2 Aug 2023 17:23:53 +0200 [thread overview]
Message-ID: <ZMp1CdK04+VYip0R@kernel.org> (raw)
In-Reply-To: <ddc1cde5fe6cb6a0865ae96d0d064298e343720d.1690938732.git.gustavoars@kernel.org>
On Tue, Aug 01, 2023 at 11:06:30PM -0600, Gustavo A. R. Silva wrote:
> One-element and zero-length arrays are deprecated. So, replace
> one-element array in struct i40e_section_table with flexible-array
> member.
>
> This results in no differences in binary output.
>
> Link: https://github.com/KSPP/linux/issues/335
> Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Reviewed-by: Simon Horman <horms@kernel.org>
_______________________________________________
Intel-wired-lan mailing list
Intel-wired-lan@osuosl.org
https://lists.osuosl.org/mailman/listinfo/intel-wired-lan
WARNING: multiple messages have this Message-ID (diff)
From: Simon Horman <horms@kernel.org>
To: "Gustavo A. R. Silva" <gustavoars@kernel.org>
Cc: Jesse Brandeburg <jesse.brandeburg@intel.com>,
Tony Nguyen <anthony.l.nguyen@intel.com>,
"David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@google.com>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
netdev@vger.kernel.org, intel-wired-lan@lists.osuosl.org,
linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org
Subject: Re: [PATCH 3/4][next] i40e: Replace one-element array with flex-array member in struct i40e_section_table
Date: Wed, 2 Aug 2023 17:23:53 +0200 [thread overview]
Message-ID: <ZMp1CdK04+VYip0R@kernel.org> (raw)
In-Reply-To: <ddc1cde5fe6cb6a0865ae96d0d064298e343720d.1690938732.git.gustavoars@kernel.org>
On Tue, Aug 01, 2023 at 11:06:30PM -0600, Gustavo A. R. Silva wrote:
> One-element and zero-length arrays are deprecated. So, replace
> one-element array in struct i40e_section_table with flexible-array
> member.
>
> This results in no differences in binary output.
>
> Link: https://github.com/KSPP/linux/issues/335
> Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Reviewed-by: Simon Horman <horms@kernel.org>
next prev parent reply other threads:[~2023-08-02 15:24 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-02 5:04 [Intel-wired-lan] [PATCH 0/4][next] i40e: Replace one-element arrays with flexible-array members Gustavo A. R. Silva
2023-08-02 5:04 ` Gustavo A. R. Silva
2023-08-02 5:05 ` [Intel-wired-lan] [PATCH 1/4][next] i40e: Replace one-element array with flex-array member in struct i40e_package_header Gustavo A. R. Silva
2023-08-02 5:05 ` Gustavo A. R. Silva
2023-08-02 15:18 ` [Intel-wired-lan] " Simon Horman
2023-08-02 15:18 ` Simon Horman
2023-08-10 10:04 ` [Intel-wired-lan] " Pucha, HimasekharX Reddy
2023-08-10 10:04 ` Pucha, HimasekharX Reddy
2023-08-02 5:05 ` [Intel-wired-lan] [PATCH 2/4][next] i40e: Replace one-element array with flex-array member in struct i40e_profile_segment Gustavo A. R. Silva
2023-08-02 5:05 ` Gustavo A. R. Silva
2023-08-02 15:23 ` [Intel-wired-lan] " Simon Horman
2023-08-02 15:23 ` Simon Horman
2023-08-10 10:06 ` [Intel-wired-lan] " Pucha, HimasekharX Reddy
2023-08-10 10:06 ` Pucha, HimasekharX Reddy
2023-08-10 17:34 ` Justin Stitt
2023-08-10 17:34 ` Justin Stitt
2023-08-10 20:49 ` [Intel-wired-lan] " Justin Stitt
2023-08-10 20:49 ` Justin Stitt
2023-08-10 21:51 ` [Intel-wired-lan] " Gustavo A. R. Silva
2023-08-10 21:51 ` Gustavo A. R. Silva
2023-08-02 5:06 ` [Intel-wired-lan] [PATCH 3/4][next] i40e: Replace one-element array with flex-array member in struct i40e_section_table Gustavo A. R. Silva
2023-08-02 5:06 ` Gustavo A. R. Silva
2023-08-02 15:23 ` Simon Horman [this message]
2023-08-02 15:23 ` Simon Horman
2023-08-10 10:08 ` [Intel-wired-lan] " Pucha, HimasekharX Reddy
2023-08-10 10:08 ` Pucha, HimasekharX Reddy
2023-08-02 5:07 ` [Intel-wired-lan] [PATCH 4/4][next] i40e: Replace one-element array with flex-array member in struct i40e_profile_aq_section Gustavo A. R. Silva
2023-08-02 5:07 ` Gustavo A. R. Silva
2023-08-02 15:24 ` [Intel-wired-lan] " Simon Horman
2023-08-02 15:24 ` Simon Horman
2023-08-10 10:13 ` [Intel-wired-lan] " Pucha, HimasekharX Reddy
2023-08-10 10:13 ` Pucha, HimasekharX Reddy
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=ZMp1CdK04+VYip0R@kernel.org \
--to=horms@kernel.org \
--cc=anthony.l.nguyen@intel.com \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=gustavoars@kernel.org \
--cc=intel-wired-lan@lists.osuosl.org \
--cc=jesse.brandeburg@intel.com \
--cc=kuba@kernel.org \
--cc=linux-hardening@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.