Skip to content

Commit 5769e39

Browse files
idoschdavem330
authored andcommitted
mlxsw: i2c: Add missing field documentation
Suppress following warning when compiling with W=1: drivers/net/ethernet/mellanox/mlxsw//i2c.c:78: warning: Function parameter or member 'cmd' not described in 'mlxsw_i2c' Signed-off-by: Ido Schimmel <idosch@mellanox.com> Reviewed-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 8a8f828 commit 5769e39

File tree

1 file changed

+1
-0
lines changed
  • drivers/net/ethernet/mellanox/mlxsw

1 file changed

+1
-0
lines changed

drivers/net/ethernet/mellanox/mlxsw/i2c.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353

5454
/**
5555
* struct mlxsw_i2c - device private data:
56+
* @cmd: command attributes;
5657
* @cmd.mb_size_in: input mailbox size;
5758
* @cmd.mb_off_in: input mailbox offset in register space;
5859
* @cmd.mb_size_out: output mailbox size;

0 commit comments

Comments
 (0)