net: flow_offload: correct comments mismatch with code
authorBijie Xu <bijie.xu@corigine.com>
Tue, 3 Aug 2021 09:40:18 +0000 (11:40 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 Aug 2021 11:52:32 +0000 (12:52 +0100)
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>
include/net/flow_offload.h

index 69c9eab..f3c2841 100644 (file)
@@ -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.