Skip to content

Commit

Permalink
net: dsa: realtek-smi: fix kdoc warnings
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Luiz Angelo Daros de Luca authored and David S. Miller committed Jan 28, 2022
1 parent a989eb6 commit 0f0c6da
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/net/dsa/realtek-smi-core.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ struct rtl8366_mib_counter {
const char *name;
};

/**
/*
* struct rtl8366_vlan_mc - Virtual LAN member configuration
*/
struct rtl8366_vlan_mc {
Expand Down Expand Up @@ -74,7 +74,7 @@ struct realtek_smi {
void *chip_data; /* Per-chip extra variant data */
};

/**
/*
* struct realtek_smi_ops - vtable for the per-SMI-chiptype operations
* @detect: detects the chiptype
*/
Expand Down
2 changes: 2 additions & 0 deletions drivers/net/dsa/rtl8366rb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 0f0c6da

Please sign in to comment.