[tipc-discussion] [net-next] tipc: clean up warnings detected by sparse

2021-01-14 Thread Hoang Huu Le
This patch fixes the following warning from sparse: --- net/tipc/monitor.c:263:35: sparse: warning: incorrect type in assignment.. net/tipc/monitor.c:263:35: sparse:expected unsigned int net/tipc/monitor.c:263:35: sparse:got restricted __be32 [usertype] [...] net/tipc/monitor.c:522:35:

Re: [tipc-discussion] [PATCH v6 12/16] net: tip: fix a couple kernel-doc markups

2021-01-14 Thread Jon Maloy
On 1/14/21 3:04 AM, Mauro Carvalho Chehab wrote: A function has a different name between their prototype and its kernel-doc markup: ../net/tipc/link.c:2551: warning: expecting prototype for link_reset_stats(). Prototype was for tipc_link_reset_stats() instead