From: Paolo Abeni <pabeni@redhat.com>
To: Tariq Toukan <tariqt@nvidia.com>,
Andrew Lunn <andrew+netdev@lunn.ch>,
"David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@kernel.org>,
Jakub Kicinski <kuba@kernel.org>,
netdev@vger.kernel.org
Cc: Carolina Jubran <cjubran@nvidia.com>,
Gal Pressman <gal@nvidia.com>,
open list <linux-kernel@vger.kernel.org>,
Shahar Shitrit <shshitrit@nvidia.com>,
Simon Horman <horms@kernel.org>
Subject: Re: [PATCH net-next V3 1/5] net/mlx5: nodnic: Introduce the mlx5_nodnic driver
Date: Fri, 27 Nov 2026 09:58:02 +0100 [thread overview]
Message-ID: <1536daff-bfb1-47fa-9f77-cefc1c32df37@redhat.com> (raw)
In-Reply-To: <20261126182448.707782-2-tariqt@nvidia.com>
On 11/26/26 19:24, Tariq Toukan wrote:
> +struct mlx5_ifc_nodnic_clear_int_bits {
> + u8 reserved_at_0[0x1f];
> + u8 clear_int[0x1];
For some reason coccinelle is not happy here:
+/srv/nipa-builds-contest/testing/wt-cocci/drivers/net/ethernet/mellanox/mlx5/nodnic/nodnic_ifc.h:140:4-13: WARNING use flexible-array member instead (https://www.kernel.org/doc/html/latest/process/deprecated.html#zero-length-and-one-element-arrays)
[...]> +struct mlx5_ifc_nodnic_gen_cfg_caps_bits {
> + u8 revision[0x8];
> + u8 hardware_format[0x8];
> + u8 support_receive_filter[0x1];
> + u8 support_promisc_filter[0x1];
> + u8 support_promisc_multicast[0x1];
> + u8 support_protocol_filter[0x1];
> + u8 reserved_at_13[0x1];
> + u8 log_working_buffer_size[0x3];
> + u8 log_pkey_table_size[0x4]; /* IB */
> + u8 reserved_at_1a[0x3];
> + u8 num_ports[0x1];
and here:
+/srv/nipa-builds-contest/testing/wt-cocci/drivers/net/ethernet/mellanox/mlx5/nodnic/nodnic_ifc.h:271:4-13: WARNING use flexible-array member instead (https://www.kernel.org/doc/html/latest/process/deprecated.html#zero-length-and-one-element-arrays)
Both look like false positive, but could you please have a look?
I removing the series from PW, we want clean CI output, otherwise
patch validation becomes more expensive.
Thanks,
Paolo
next prev parent reply other threads:[~2026-11-27 8:58 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-26 18:24 [PATCH net-next V3 0/5] net/mlx5: Introduce mlx5_nodnic, a driver for DRAM-less NVIDIA Mellanox NIC functions Tariq Toukan
2026-11-26 18:24 ` [PATCH net-next V3 1/5] net/mlx5: nodnic: Introduce the mlx5_nodnic driver Tariq Toukan
2026-11-27 8:58 ` Paolo Abeni [this message]
2026-11-26 18:24 ` [PATCH net-next V3 2/5] net/mlx5: nodnic: Implement data path Tariq Toukan
2026-11-26 18:24 ` [PATCH net-next V3 3/5] net/mlx5: nodnic: Add TX/RX statistics Tariq Toukan
2026-11-26 18:24 ` [PATCH net-next V3 4/5] net/mlx5: nodnic: Add ethtool driver info Tariq Toukan
2026-11-26 18:24 ` [PATCH net-next V3 5/5] net/mlx5: nodnic: Add health monitoring Tariq Toukan
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=1536daff-bfb1-47fa-9f77-cefc1c32df37@redhat.com \
--to=pabeni@redhat.com \
--cc=andrew+netdev@lunn.ch \
--cc=cjubran@nvidia.com \
--cc=davem@davemloft.net \
--cc=edumazet@kernel.org \
--cc=gal@nvidia.com \
--cc=horms@kernel.org \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=shshitrit@nvidia.com \
--cc=tariqt@nvidia.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®