summaryrefslogtreecommitdiff
path: root/drivers/net/dsa/rtl8366rb.c
diff options
context:
space:
mode:
authorLuiz Angelo Daros de Luca <luizluca@gmail.com>2022-01-28 09:04:57 +0300
committerDavid S. Miller <davem@davemloft.net>2022-01-28 18:02:49 +0300
commit0f0c6da03ba37739901ca5db4361c1ef1ae9463f (patch)
tree1ce0f11c567a8739d4711420c9a7ccec3d683e59 /drivers/net/dsa/rtl8366rb.c
parenta989eb66684da7b51c3b00cb6eb910df1217002c (diff)
downloadlinux-0f0c6da03ba37739901ca5db4361c1ef1ae9463f.tar.xz
net: dsa: realtek-smi: fix kdoc warnings
Removed kdoc mark for incomplete struct description. Added a return description for rtl8366rb_drop_untagged. Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/rtl8366rb.c')
-rw-r--r--drivers/net/dsa/rtl8366rb.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/dsa/rtl8366rb.c b/drivers/net/dsa/rtl8366rb.c
index ecc19bd5115f..4f8c06d7ab3a 100644
--- a/drivers/net/dsa/rtl8366rb.c
+++ b/drivers/net/dsa/rtl8366rb.c
@@ -1252,6 +1252,8 @@ rtl8366rb_port_bridge_leave(struct dsa_switch *ds, int port,
* @smi: SMI state container
* @port: the port to drop untagged and C-tagged frames on
* @drop: whether to drop or pass untagged and C-tagged frames
+ *
+ * Return: zero for success, a negative number on error.
*/
static int rtl8366rb_drop_untagged(struct realtek_smi *smi, int port, bool drop)
{