diff options
author | 2021-10-06 10:33:47 +0300 | |
---|---|---|
committer | 2021-10-06 15:23:02 +0100 | |
commit | 9b139a38016ff849238ac1788f30c8a6b1cbc357 (patch) | |
tree | 814a90ea511d93e4212a590fc4628535da3edb30 /drivers/net/ethernet/ethoc.c | |
parent | gtp: use skb_dst_update_pmtu_no_confirm() instead of direct call (diff) | |
download | linux-dev-9b139a38016ff849238ac1788f30c8a6b1cbc357.tar.xz linux-dev-9b139a38016ff849238ac1788f30c8a6b1cbc357.zip |
mlxsw: spectrum_buffers: silence uninitialized warning
Static checkers and runtime checkers such as KMSan will complain that
we do not initialize the last 6 bytes of "cb_priv". The caller only
uses the first two bytes so it doesn't cause a runtime issue. Still
worth fixing though.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/ethoc.c')
0 files changed, 0 insertions, 0 deletions