summaryrefslogtreecommitdiffstats
path: root/include/net/flow_offload.h
diff options
context:
space:
mode:
authorBijie Xu <bijie.xu@corigine.com>2021-08-03 11:40:18 +0200
committerDavid S. Miller <davem@davemloft.net>2021-08-03 13:52:32 +0200
commitc87a4c542b5a796f795fec2b7a909c7d3067b11c (patch)
treeb29cbfb2f62fa1b926a2785851fb18f870541367 /include/net/flow_offload.h
parentnet: sparx5: fix bitmask on 32-bit targets (diff)
downloadlinux-c87a4c542b5a796f795fec2b7a909c7d3067b11c.tar.xz
linux-c87a4c542b5a796f795fec2b7a909c7d3067b11c.zip
net: flow_offload: correct comments mismatch with code
Correct mismatch between the name of flow_offload_has_one_action() and its kdoc entry. Found using ./scripts/kernel-doc -Werror -none include/net/flow_offload.h Signed-off-by: Bijie Xu <bijie.xu@corigine.com> Signed-off-by: Simon Horman <simon.horman@corigine.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/flow_offload.h')
-rw-r--r--include/net/flow_offload.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/flow_offload.h b/include/net/flow_offload.h
index 69c9eabf8325..f3c2841566a0 100644
--- a/include/net/flow_offload.h
+++ b/include/net/flow_offload.h
@@ -293,7 +293,7 @@ static inline bool flow_action_has_entries(const struct flow_action *action)
}
/**
- * flow_action_has_one_action() - check if exactly one action is present
+ * flow_offload_has_one_action() - check if exactly one action is present
* @action: tc filter flow offload action
*
* Returns true if exactly one action is present.