i40e: fix function kernel doc description
Subsystems (3)
PATCH 1/1 i40e: fix function kernel doc description
The commit c7d05ca89f8e ("i40e: driver ethtool core") introduced the new function i40e_add_del_fdir_sctpv4() with the kernel doc description a little bit off. The trivial error was copied over to a different file by the commit 17a73f6b1401 ("i40e: Flow Director sideband accounting") most recently. Fix the kernel doc with the correct description for clarity.
--- drivers/net/ethernet/intel/i40e/i40e_txrx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/intel/i40e/i40e_txrx.c +1 -1
@@ -299,7 +299,7 @@ static int i40e_add_del_fdir_tcpv4(struct i40e_vsi *vsi,* @raw_packet: the pre-allocated packet buffer for FDir * @add: true adds a filter, false removes it * -* Returns 0 if the filters were successfully added or removed +* Always returns -EOPNOTSUPP **/ static int i40e_add_del_fdir_sctpv4(struct i40e_vsi *vsi, struct i40e_fdir_filter *fd_data,
Quoted 7 lines · Jean Sacren
The commit
c7d05ca89f8e("i40e: driver ethtool core") introduced the new functioni40e_add_del_fdir_sctpv4()with the kernel doc description a little bit off. The trivial error was copied over to a different file by the commit17a73f6b1401("i40e: Flow Director sideband accounting") most recently. Fix the kernel doc with the correct description for clarity.
Quoted 7 lines
Signed-off-by Jean Sacren <[email protected]>Cc Jesse Brandeburg <[email protected]>Cc Joseph Gasparakis <[email protected]>--- drivers/net/ethernet/intel/i40e/i40e_txrx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Thanks Jean, I will add your patch to my queue.
Quoted 6 lines
drivers/net/ethernet/intel/i40e/i40e_txrx.c +0
-0
drivers/net/ethernet/intel/i40e/i40e_txrx.c static int i40e_add_del_fdir_tcpv4(struct i40e_vsi *vsi, · line 305
Quoted 8 lines
drivers/net/ethernet/intel/i40e/i40e_txrx.c +1
-1@@ -299,7 +299,7 @@ static int i40e_add_del_fdir_tcpv4(struct i40e_vsi *vsi,* @raw_packet: the pre-allocated packet buffer for FDir * @add: true adds a filter, false removes it * -* Returns 0 if the filters were successfully added or removed +* Always returns -EOPNOTSUPP **/ static int i40e_add_del_fdir_sctpv4(struct i40e_vsi *vsi, struct i40e_fdir_filter *fd_data,
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
E1000-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/e1000-devel
To learn more about Intel® Ethernet, visit http://communities.intel.com/community/wired