commit | 65087cfee50595185f6bbf3d78272eeb34186d2b | [log] [tgz] |
---|---|---|
author | Ariel Elior <ariele@broadcom.com> | Mon Jan 23 07:31:55 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Mon Jan 23 13:58:18 2012 -0500 |
tree | 544dadaea0da0e94a6a2da32e190f054ff1a5917 | |
parent | 1fdf155158886514c82e5401ab7b1264beb375bf [diff] |
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>