All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Plachno, Lukasz" <lukasz.plachno@intel.com>
To: Tony Nguyen <anthony.l.nguyen@intel.com>
Cc: <davem@davemloft.net>, <pabeni@redhat.com>, <edumazet@google.com>,
	<netdev@vger.kernel.org>,
	Jakub Buchocki <jakubx.buchocki@intel.com>,
	Mateusz Pacuszka <mateuszx.pacuszka@intel.com>,
	Przemek Kitszel <przemyslaw.kitszel@intel.com>,
	Jacob Keller <jacob.e.keller@intel.com>,
	Simon Horman <horms@kernel.org>,
	Pucha Himasekhar Reddy <himasekharx.reddy.pucha@intel.com>,
	Jakub Kicinski <kuba@kernel.org>
Subject: Re: [PATCH net-next 2/4] ice: Implement 'flow-type ether' rules
Date: Fri, 12 Apr 2024 11:41:39 +0200	[thread overview]
Message-ID: <f0ed2d9e-99f2-4739-a2a7-62de488db35e@intel.com> (raw)
In-Reply-To: <20240411200608.2fcf7e36@kernel.org>

On 4/12/2024 5:06 AM, Jakub Kicinski wrote:
> On Thu, 11 Apr 2024 10:38:42 -0700 Tony Nguyen wrote:
>> +/**
>> + * ice_set_fdir_vlan_seg
>> + * @seg: flow segment for programming
>> + * @ext_masks: masks for additional RX flow fields
>> + */
> 
> kerne-doc is not on board (note that we started using the -Wall flag
> when running the script):
> 
> drivers/net/ethernet/intel/ice/ice_ethtool_fdir.c:1285: warning: missing initial short description on line:
>   * ice_set_fdir_vlan_seg
> drivers/net/ethernet/intel/ice/ice_ethtool_fdir.c:1292: warning: No description found for return value of 'ice_set_fdir_vlan_seg'

Tony,

Change below fixes the kernel-doc warnings in case it is okay to amend 
the commit in your tree.
If you prefer I will send V9 with fixed comments to list.

Thanks,
Łukasz

---
diff --git a/drivers/net/ethernet/intel/ice/ice_ethtool_fdir.c 
b/drivers/net/ethernet/intel/ice/ice_ethtool_fdir.c
index ab3121aee412..e3cab8e98f52 100644
--- a/drivers/net/ethernet/intel/ice/ice_ethtool_fdir.c
+++ b/drivers/net/ethernet/intel/ice/ice_ethtool_fdir.c
@@ -1228,7 +1228,7 @@ static bool ice_fdir_vlan_valid(struct device *dev,
  }

  /**
- * ice_set_ether_flow_seg
+ * ice_set_ether_flow_seg - set address and protocol segments for ether 
flow
   * @dev: network interface device structure
   * @seg: flow segment for programming
   * @eth_spec: mask data from ethtool
@@ -1282,9 +1282,11 @@ static int ice_set_ether_flow_seg(struct device *dev,
  }

  /**
- * ice_set_fdir_vlan_seg
+ * ice_set_fdir_vlan_seg - set vlan segments for ether flow
   * @seg: flow segment for programming
   * @ext_masks: masks for additional RX flow fields
+ *
+ * Return: 0 on success and errno in case of error.
   */
  static int
  ice_set_fdir_vlan_seg(struct ice_flow_seg_info *seg,
--
2.34.1

  reply	other threads:[~2024-04-12  9:41 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-11 17:38 [PATCH net-next 0/4][pull request] Intel Wired LAN Driver Updates 2024-04-11 (ice) Tony Nguyen
2024-04-11 17:38 ` [PATCH net-next 1/4] ice: Remove unnecessary argument from ice_fdir_comp_rules() Tony Nguyen
2024-04-11 17:38 ` [PATCH net-next 2/4] ice: Implement 'flow-type ether' rules Tony Nguyen
2024-04-12  3:06   ` Jakub Kicinski
2024-04-12  9:41     ` Plachno, Lukasz [this message]
2024-04-12 15:40       ` Tony Nguyen
2024-04-11 17:38 ` [PATCH net-next 3/4] ice: set vf->num_msix in ice_initialize_vf_entry() Tony Nguyen
2024-04-11 17:38 ` [PATCH net-next 4/4] ice: store VF relative MSI-X index in q_vector->vf_reg_idx Tony Nguyen

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=f0ed2d9e-99f2-4739-a2a7-62de488db35e@intel.com \
    --to=lukasz.plachno@intel.com \
    --cc=anthony.l.nguyen@intel.com \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=himasekharx.reddy.pucha@intel.com \
    --cc=horms@kernel.org \
    --cc=jacob.e.keller@intel.com \
    --cc=jakubx.buchocki@intel.com \
    --cc=kuba@kernel.org \
    --cc=mateuszx.pacuszka@intel.com \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=przemyslaw.kitszel@intel.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.