wifi: mac80211: Fix the return value in mesh_path_add() kernel-doc
PATCH 1/1 wifi: mac80211: Fix the return value in mesh_path_add() kernel-doc
mesh_path_add() has returned the new (or the already existing) struct mesh_path, or an ERR_PTR(), since commit ae76eef027f7 ("mac80211: return new mpath from mesh_path_add()"), but its kernel-doc still says "Returns: 0 on success". Describe the pointer.
Fixes ae76eef027f7 ("mac80211: return new mpath from mesh_path_add()")
Assisted-by LLM
Signed-off-by Karl Mehltretter <[email protected]>
--- net/mac80211/mesh_pathtbl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
net/mac80211/mesh_pathtbl.c +1 -1
@@ -673,7 +673,7 @@ void mesh_fast_tx_flush_addr(struct ieee80211_sub_if_data *sdata,* @sdata: local subif * @dst: destination address of the path (ETH_ALEN length) * -* Returns: 0 on success +* Returns: the new or the existing path on success, an ERR_PTR() on failure * * State: the initial state of the new path is set to 0 */
Signature · 1 line
2.39.5 (Apple Git-154)