Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

flow_dissector: fix document for skb_flow_get_icmp_tci

using correct input parameter name to fix the below warning:

net/core/flow_dissector.c:242: warning: Function parameter or member 'thoff' not described in 'skb_flow_get_icmp_tci'
net/core/flow_dissector.c:242: warning: Excess function parameter 'toff' description in 'skb_flow_get_icmp_tci'

Signed-off-by: Li RongQing <lirongqing@baidu.com>
Reviewed-by: Simon Horman <simon.horman@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Li RongQing and committed by
David S. Miller
6b3acfc3 5e0fcc16

+1 -1
+1 -1
net/core/flow_dissector.c
··· 233 233 * @skb: sk_buff to extract from 234 234 * @key_icmp: struct flow_dissector_key_icmp to fill 235 235 * @data: raw buffer pointer to the packet 236 - * @toff: offset to extract at 236 + * @thoff: offset to extract at 237 237 * @hlen: packet header length 238 238 */ 239 239 void skb_flow_get_icmp_tci(const struct sk_buff *skb,