diff options
author | Ariel Elior <ariele@broadcom.com> | 2012-01-23 07:31:55 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-01-23 13:58:18 -0500 |
commit | 65087cfee50595185f6bbf3d78272eeb34186d2b (patch) | |
tree | 544dadaea0da0e94a6a2da32e190f054ff1a5917 /COPYING | |
parent | 1fdf155158886514c82e5401ab7b1264beb375bf (diff) | |
download | blackbird-op-linux-65087cfee50595185f6bbf3d78272eeb34186d2b.tar.gz blackbird-op-linux-65087cfee50595185f6bbf3d78272eeb34186d2b.zip |
bnx2x: handle CHIP_REVISION during init_one
The macro `CHIP_IS_E1x' requires `bp' to be initialized.
As `bp' is not yet initialized during this phase of `bnx2x_init_dev',
it accessed uninitialized fields in the struct.
Signed-off-by: Ariel Elior <ariele@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions