net/mlx4: mlx4_config_dev_retrieval() - Initialize struct config_dev before using
authorMaor Gottlieb <maorg@mellanox.com>
Tue, 3 Feb 2015 15:57:16 +0000 (17:57 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Feb 2015 00:17:45 +0000 (16:17 -0800)
commit6af0a52f65840bdfae5e24df51cbe9965a4146f6
treebf060b071f6eda02708e9120ef9035285b5315be
parentb332068ce4261b37d05f438fbc487e357fffa108
net/mlx4: mlx4_config_dev_retrieval() - Initialize struct config_dev before using

Add Initialization to struct config_dev before filling and using it.
Fix to warning:

warning: config_dev.rx_checksum_val may be used uninitialized in this function

Signed-off-by: Maor Gottlieb <maorg@mellanox.com>
Signed-off-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/fw.c