cxgb4: Initialize data structures before using.
authorVipul Pandya <vipul@chelsio.com>
Tue, 6 Nov 2012 03:37:09 +0000 (03:37 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 Nov 2012 20:43:26 +0000 (15:43 -0500)
commit0062b15c107d756dd7c9e41d023e87f876320c97
treee1bc0afb21d6d7886cba2faaf2d2372e38e70d4e
parenta3d744e995d2b936c500585ae39d99ee251c89b4
cxgb4: Initialize data structures before using.

We should not assume reserve fields to be don't cares as fields may change.
Clearing data structures before using.

Signed-off-by: Jay Hernandez <jay@chelsio.com>
Signed-off-by: Vipul Pandya <vipul@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c