Skip to content

Commit 6b3acfc

Browse files
lrq-maxdavem330
authored andcommitted
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>
1 parent 5e0fcc1 commit 6b3acfc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎net/core/flow_dissector.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ static bool icmp_has_id(u8 type)
233233
* @skb: sk_buff to extract from
234234
* @key_icmp: struct flow_dissector_key_icmp to fill
235235
* @data: raw buffer pointer to the packet
236-
* @toff: offset to extract at
236+
* @thoff: offset to extract at
237237
* @hlen: packet header length
238238
*/
239239
void skb_flow_get_icmp_tci(const struct sk_buff *skb,

0 commit comments

Comments
 (0)