Skip to content
Commit aa09a3da authored by Jon Cooper's avatar Jon Cooper Committed by David S. Miller
Browse files

sfc: Initialise MCDI buffers to 0 on declaration.



In order to avoid MC bugs the flags field needs to be set to 0.
Instead of explicitly clearing out the flags individually, a
better way to do this is to memset the MCDI_BUF to 0.

Signed-off-by: default avatarShradha Shah <sshah@solarflare.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 0d5e0fbb
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