Message ID | 20201125042026.25374-1-rdunlap@infradead.org (mailing list archive) |
---|---|
Headers | show |
Series | net/tipc: fix all kernel-doc and add TIPC networking chapter | expand |
On Tue, 24 Nov 2020 20:20:16 -0800 Randy Dunlap wrote: > Fix lots of net/tipc/ kernel-doc warnings. Add many struct field and > function parameter descriptions. > > Then add a TIPC chapter to the networking documentation book. > > > Note: some of the struct members and function parameters are marked > with "FIXME". They could use some additional descriptions if > someone could help add to them. Thanks. > > > Question: is net/tipc/discover.c, in tipc_disc_delete() kernel-doc, > what is the word "duest"? Should it be changed? Thanks for cleaning those up! Looks like this had a conflict with commits from 6375da9dac8b ("Merge branch 'tipc-some-minor-improvements'") - please rebase.
On 11/25/20 12:20 PM, Randy Dunlap wrote: > > Question: is net/tipc/discover.c, in tipc_disc_delete() kernel-doc, > what is the word "duest"? Should it be changed? The "duest" is a typo, and it should be "dest" defined as below: struct tipc_discoverer { u32 bearer_id; struct tipc_media_addr dest; ===> "dest" struct net *net; u32 domain; int num_nodes; spinlock_t lock; struct sk_buff *skb; struct timer_list timer; unsigned long timer_intv; };
On 11/28/20 11:37 PM, Ying Xue wrote: > On 11/25/20 12:20 PM, Randy Dunlap wrote: >> >> Question: is net/tipc/discover.c, in tipc_disc_delete() kernel-doc, >> what is the word "duest"? Should it be changed? > > The "duest" is a typo, and it should be "dest" defined as below: > struct tipc_discoverer { > u32 bearer_id; > struct tipc_media_addr dest; ===> "dest" > struct net *net; > u32 domain; > int num_nodes; > spinlock_t lock; > struct sk_buff *skb; > struct timer_list timer; > unsigned long timer_intv; > }; > Thanks. I'll take care of this one and your comments on patch #1.