net: minor kdoc fixes
Subsystems (3)
cover net: minor kdoc fixes
Hi,
this short series fixes two kdoc errors that were noticed during development.
Bijie Xu (2):
net: flow_offload: correct comments mismatch with code
net: sched: provide missing kdoc for tcf_pkt_info and tcf_ematch_ops
include/net/flow_offload.h | 2 +- include/net/pkt_cls.h | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-)
Signature · 1 line
2.20.1
PATCH 1/2 net: flow_offload: correct comments mismatch with code
From: Bijie Xu <[email protected]>
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
--- include/net/flow_offload.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/net/flow_offload.h +1 -1
@@ -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.
Signature · 1 line
2.20.1
PATCH 2/2 net: sched: provide missing kdoc for tcf_pkt_info and tcf_ematch_ops
In reply to Simon HormanFrom: Bijie Xu <[email protected]>
Provide missing kdoc of fields of struct tcf_pkt_info and tcf_ematch_ops.
Found using ./scripts/kernel-doc -none -Werror include/net/pkt_cls.h
--- include/net/pkt_cls.h | 4 ++++ 1 file changed, 4 insertions(+)
include/net/pkt_cls.h +4 -0
@@ -329,6 +329,9 @@ int tcf_exts_dump_stats(struct sk_buff *skb, struct tcf_exts *exts);/** * struct tcf_pkt_info - packet information +* +* @ptr: start of the pkt data +* @nexthdr: offset of the next header */ struct tcf_pkt_info {unsigned char * ptr;
@@ -347,6 +350,7 @@ struct tcf_ematch_ops;* @ops: the operations lookup table of the corresponding ematch module * @datalen: length of the ematch specific configuration data * @data: ematch specific data +* @net: the network namespace */ struct tcf_ematch {struct tcf_ematch_ops * ops;
Signature · 1 line
2.20.1
This series was applied to netdev/net.git (refs/heads/master):
Hello:
This series was applied to netdev/net.git (refs/heads/master):
Quoted 10 lines · On Tue, 3 Aug 2021 11:40:17 +0200 you wrote:
Hi,
this short series fixes two kdoc errors that were noticed during development.
Bijie Xu (2):
net:flow_offload: correct comments mismatch with code
net: sched: provide missing kdoc fortcf_pkt_infoandtcf_ematch_ops[...]
Here is the summary with links:
- [net-next,1/2] net: flow_offload: correct comments mismatch with code
https://git.kernel.org/netdev/net/c/c87a4c542b5a - [net-next,2/2] net: sched: provide missing kdoc for tcf_pkt_info and tcf_ematch_ops https://git.kernel.org/netdev/net/c/0161d151f3e3
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html