net: core: dst_cache_set_ip6: Rename 'addr' parameter to 'saddr' for consistency
authorJonathan Neuschäfer <j.neuschaefer@gmx.net>
Sun, 4 Mar 2018 02:29:52 +0000 (03:29 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Mar 2018 17:52:45 +0000 (12:52 -0500)
commit4c1342d967cb556ea1c0f34271b125deeb25f0f8
treeeddbad2f0b973c02022cc72310ad94139a4a67bb
parent76b12974a3981db2a1ae60d62f55dd839d07ac85
net: core: dst_cache_set_ip6: Rename 'addr' parameter to 'saddr' for consistency

The other dst_cache_{get,set}_ip{4,6} functions, and the doc comment for
dst_cache_set_ip6 use 'saddr' for their source address parameter. Rename
the parameter to increase consistency.

This fixes the following kernel-doc warnings:

./include/net/dst_cache.h:58: warning: Function parameter or member 'addr' not described in 'dst_cache_set_ip6'
./include/net/dst_cache.h:58: warning: Excess function parameter 'saddr' description in 'dst_cache_set_ip6'

Fixes: 911362c70df5 ("net: add dst_cache support")
Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/dst_cache.h
net/core/dst_cache.c