* [PATCH v2 net-next] sfc: correct kernel-doc complaints
@ 2025-12-14 19:16 Randy Dunlap
2025-12-15 13:17 ` Edward Cree
2025-12-15 14:49 ` Simon Horman
0 siblings, 2 replies; 3+ messages in thread
From: Randy Dunlap @ 2025-12-14 19:16 UTC (permalink / raw)
To: netdev
Cc: Randy Dunlap, Edward Cree, Andrew Lunn, David S. Miller,
Eric Dumazet, Jakub Kicinski, Paolo Abeni, Simon Horman,
linux-net-drivers
Fix kernel-doc warnings by adding 3 missing struct member descriptions
in struct efx_ef10_nic_data and removing preprocessor directives (which
are not handled by kernel-doc).
Fixes these 5 warnings:
Warning: drivers/net/ethernet/sfc/nic.h:158 bad line: #ifdef CONFIG_SFC_SRIOV
Warning: drivers/net/ethernet/sfc/nic.h:160 bad line: #endif
Warning: drivers/net/ethernet/sfc/nic.h:204 struct member 'port_id'
not described in 'efx_ef10_nic_data'
Warning: drivers/net/ethernet/sfc/nic.h:204 struct member 'vf_index'
not described in 'efx_ef10_nic_data'
Warning: drivers/net/ethernet/sfc/nic.h:204 struct member 'licensed_features'
not described in 'efx_ef10_nic_data'
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
---
v2: update struct member descriptions based on Edward's comments
NOTE: gmail usually blocks my email to Edward's gmail address;
gmail identifies it as spam.
Cc: Edward Cree <ecree.xilinx@gmail.com>
Cc: Andrew Lunn <andrew+netdev@lunn.ch>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Eric Dumazet <edumazet@google.com>
Cc: Jakub Kicinski <kuba@kernel.org>
Cc: Paolo Abeni <pabeni@redhat.com>
Cc: Simon Horman <horms@kernel.org>
Cc: linux-net-drivers@amd.com
---
drivers/net/ethernet/sfc/nic.h | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
--- linux-next-20251208.orig/drivers/net/ethernet/sfc/nic.h
+++ linux-next-20251208/drivers/net/ethernet/sfc/nic.h
@@ -156,9 +156,9 @@ enum {
* @tx_dpcpu_fw_id: Firmware ID of the TxDPCPU
* @must_probe_vswitching: Flag: vswitching has yet to be setup after MC reboot
* @pf_index: The number for this PF, or the parent PF if this is a VF
-#ifdef CONFIG_SFC_SRIOV
- * @vf: Pointer to VF data structure
-#endif
+ * @port_id: Ethernet address of owning PF, used for phys_port_id
+ * @vf_index: The number for this VF, or 0xFFFF if this is a VF
+ * @vf: for a PF, array of VF data structures indexed by VF's @vf_index
* @vport_mac: The MAC address on the vport, only for PFs; VFs will be zero
* @vlan_list: List of VLANs added over the interface. Serialised by vlan_lock.
* @vlan_lock: Lock to serialize access to vlan_list.
@@ -166,6 +166,7 @@ enum {
* @udp_tunnels_dirty: flag indicating a reboot occurred while pushing
* @udp_tunnels to hardware and thus the push must be re-done.
* @udp_tunnels_lock: Serialises writes to @udp_tunnels and @udp_tunnels_dirty.
+ * @licensed_features: Flags for licensed firmware features.
*/
struct efx_ef10_nic_data {
struct efx_buffer mcdi_buf;
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH v2 net-next] sfc: correct kernel-doc complaints
2025-12-14 19:16 [PATCH v2 net-next] sfc: correct kernel-doc complaints Randy Dunlap
@ 2025-12-15 13:17 ` Edward Cree
2025-12-15 14:49 ` Simon Horman
1 sibling, 0 replies; 3+ messages in thread
From: Edward Cree @ 2025-12-15 13:17 UTC (permalink / raw)
To: Randy Dunlap, netdev
Cc: Andrew Lunn, David S. Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni, Simon Horman, linux-net-drivers
On 14/12/2025 19:16, Randy Dunlap wrote:
> Fix kernel-doc warnings by adding 3 missing struct member descriptions
> in struct efx_ef10_nic_data and removing preprocessor directives (which
> are not handled by kernel-doc).
>
> Fixes these 5 warnings:
> Warning: drivers/net/ethernet/sfc/nic.h:158 bad line: #ifdef CONFIG_SFC_SRIOV
> Warning: drivers/net/ethernet/sfc/nic.h:160 bad line: #endif
> Warning: drivers/net/ethernet/sfc/nic.h:204 struct member 'port_id'
> not described in 'efx_ef10_nic_data'
> Warning: drivers/net/ethernet/sfc/nic.h:204 struct member 'vf_index'
> not described in 'efx_ef10_nic_data'
> Warning: drivers/net/ethernet/sfc/nic.h:204 struct member 'licensed_features'
> not described in 'efx_ef10_nic_data'
>
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Reviewed-by: Edward Cree <ecree.xilinx@gmail.com>
(and sorry for using gmail despite its ongoing war on federation;
unfortunately it's the least bad alternative available to me)
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v2 net-next] sfc: correct kernel-doc complaints
2025-12-14 19:16 [PATCH v2 net-next] sfc: correct kernel-doc complaints Randy Dunlap
2025-12-15 13:17 ` Edward Cree
@ 2025-12-15 14:49 ` Simon Horman
1 sibling, 0 replies; 3+ messages in thread
From: Simon Horman @ 2025-12-15 14:49 UTC (permalink / raw)
To: Randy Dunlap
Cc: netdev, Edward Cree, Andrew Lunn, David S. Miller, Eric Dumazet,
Jakub Kicinski, Paolo Abeni, linux-net-drivers
On Sun, Dec 14, 2025 at 11:16:03AM -0800, Randy Dunlap wrote:
> Fix kernel-doc warnings by adding 3 missing struct member descriptions
> in struct efx_ef10_nic_data and removing preprocessor directives (which
> are not handled by kernel-doc).
>
> Fixes these 5 warnings:
> Warning: drivers/net/ethernet/sfc/nic.h:158 bad line: #ifdef CONFIG_SFC_SRIOV
> Warning: drivers/net/ethernet/sfc/nic.h:160 bad line: #endif
> Warning: drivers/net/ethernet/sfc/nic.h:204 struct member 'port_id'
> not described in 'efx_ef10_nic_data'
> Warning: drivers/net/ethernet/sfc/nic.h:204 struct member 'vf_index'
> not described in 'efx_ef10_nic_data'
> Warning: drivers/net/ethernet/sfc/nic.h:204 struct member 'licensed_features'
> not described in 'efx_ef10_nic_data'
>
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> ---
> v2: update struct member descriptions based on Edward's comments
>
> NOTE: gmail usually blocks my email to Edward's gmail address;
> gmail identifies it as spam.
>
> Cc: Edward Cree <ecree.xilinx@gmail.com>
> Cc: Andrew Lunn <andrew+netdev@lunn.ch>
> Cc: "David S. Miller" <davem@davemloft.net>
> Cc: Eric Dumazet <edumazet@google.com>
> Cc: Jakub Kicinski <kuba@kernel.org>
> Cc: Paolo Abeni <pabeni@redhat.com>
> Cc: Simon Horman <horms@kernel.org>
> Cc: linux-net-drivers@amd.com
> ---
> drivers/net/ethernet/sfc/nic.h | 7 ++++---
> 1 file changed, 4 insertions(+), 3 deletions(-)
>
> --- linux-next-20251208.orig/drivers/net/ethernet/sfc/nic.h
> +++ linux-next-20251208/drivers/net/ethernet/sfc/nic.h
> @@ -156,9 +156,9 @@ enum {
> * @tx_dpcpu_fw_id: Firmware ID of the TxDPCPU
> * @must_probe_vswitching: Flag: vswitching has yet to be setup after MC reboot
> * @pf_index: The number for this PF, or the parent PF if this is a VF
> -#ifdef CONFIG_SFC_SRIOV
> - * @vf: Pointer to VF data structure
> -#endif
> + * @port_id: Ethernet address of owning PF, used for phys_port_id
> + * @vf_index: The number for this VF, or 0xFFFF if this is a VF
> + * @vf: for a PF, array of VF data structures indexed by VF's @vf_index
> * @vport_mac: The MAC address on the vport, only for PFs; VFs will be zero
> * @vlan_list: List of VLANs added over the interface. Serialised by vlan_lock.
> * @vlan_lock: Lock to serialize access to vlan_list.
> @@ -166,6 +166,7 @@ enum {
> * @udp_tunnels_dirty: flag indicating a reboot occurred while pushing
> * @udp_tunnels to hardware and thus the push must be re-done.
> * @udp_tunnels_lock: Serialises writes to @udp_tunnels and @udp_tunnels_dirty.
> + * @licensed_features: Flags for licensed firmware features.
> */
> struct efx_ef10_nic_data {
> struct efx_buffer mcdi_buf;
>
Not trimmed in case there is any value in this data getting to
Edward given Randy's comment about spam.
## Form letter - net-next-closed
net-next is currently closed for new drivers, features, code refactoring and
optimizations. We are currently accepting bug fixes only.
net-next was closed when the merge window for v6.19 began. And due to a
combination of the travel commitments of the maintainers, and the holiday
season, net-next will not re-open until after 2nd January.
Please repost when net-next reopens.
RFC patches sent for review only are welcome at any time.
Thanks for your understanding.
See: https://www.kernel.org/doc/html/next/process/maintainer-netdev.html#development-cycle
--
pw-bot: defer
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-12-15 14:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-14 19:16 [PATCH v2 net-next] sfc: correct kernel-doc complaints Randy Dunlap
2025-12-15 13:17 ` Edward Cree
2025-12-15 14:49 ` Simon Horman
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.