]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
mlxsw: spectrum_mr: Use flexible-array member instead of zero-length array
authorIdo Schimmel <idosch@nvidia.com>
Sun, 6 Dec 2020 08:22:24 +0000 (10:22 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Dec 2020 03:22:14 +0000 (19:22 -0800)
commit42c435a2aca223c5734380f38c8ba2688b3dee37
tree6d3e43452e10ce476ba35c86bf7c65a5b8139330
parent4834ad807917963f3dc045315a08a37a7da8c196
mlxsw: spectrum_mr: Use flexible-array member instead of zero-length array

Suppresses the following coccinelle warning:

drivers/net/ethernet/mellanox/mlxsw/spectrum_mr.c:18:15-19: WARNING use flexible-array member instead

Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum_mr.c