Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 9b139a38 authored by Dan Carpenter's avatar Dan Carpenter Committed by David S. Miller
Browse files

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: default avatarDan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: default avatarIdo Schimmel <idosch@nvidia.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 5b71131b
Branches
Tags
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment