net/qede/base: zero out MFW mailbox data
authorRasesh Mody <rasesh.mody@cavium.com>
Wed, 29 Mar 2017 20:36:50 +0000 (13:36 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 4 Apr 2017 17:02:54 +0000 (19:02 +0200)
commite32dc0f722eb6aa7b25e906c174618b31c9cde19
treec19f08b60e8b889ffdb5b1aa468c300b2045f24c
parent2c3945f6b804b03be18f9e56dbdb46e2edb6f508
net/qede/base: zero out MFW mailbox data

Zero the whole union data of the Management FW mailbox before copying
the actual union member

Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
drivers/net/qede/base/ecore_dev.c
drivers/net/qede/base/ecore_mcp.c
drivers/net/qede/base/ecore_mcp.h