commit | aa09a3da70a45a5030034b8ec8a8b945da44ebd4 | [log] [tgz] |
---|---|---|
author | Jon Cooper <jcooper@solarflare.com> | Wed May 20 11:10:41 2015 +0100 |
committer | David S. Miller <davem@davemloft.net> | Thu May 21 18:43:53 2015 -0400 |
tree | 2debcc7794be8ac8235692aa0746c69e73816782 | |
parent | 0d5e0fbba0ced95cc642d89a95120dcc9ec5be57 [diff] |
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: Shradha Shah <sshah@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>