]> git.dujemihanovic.xyz Git - linux.git/commit
net: ethtool: Fix documentation of ethtool_sprintf()
authorAndrew Lunn <andrew@lunn.ch>
Sat, 28 Oct 2023 19:25:11 +0000 (21:25 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 2 Nov 2023 11:17:17 +0000 (12:17 +0100)
commitf55d8e60f10909dbc5524e261041e1d28d7d20d8
tree58485bfa76a66f5dfe4c083e8f02f2826b8e77b9
parent5a22fbcc10f3f7d94c5d88afbbffa240a3677057
net: ethtool: Fix documentation of ethtool_sprintf()

This function takes a pointer to a pointer, unlike sprintf() which is
passed a plain pointer. Fix up the documentation to make this clear.

Fixes: 7888fe53b706 ("ethtool: Add common function for filling out strings")
Cc: Alexander Duyck <alexanderduyck@fb.com>
Cc: Justin Stitt <justinstitt@google.com>
Cc: stable@vger.kernel.org
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Justin Stitt <justinstitt@google.com>
Link: https://lore.kernel.org/r/20231028192511.100001-1-andrew@lunn.ch
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
include/linux/ethtool.h