diff options
author | Ariel Elior <[email protected]> | 2012-01-23 07:31:55 +0000 |
---|---|---|
committer | David S. Miller <[email protected]> | 2012-01-23 13:58:18 -0500 |
commit | 65087cfee50595185f6bbf3d78272eeb34186d2b (patch) | |
tree | 544dadaea0da0e94a6a2da32e190f054ff1a5917 /lib/cpu-notifier-error-inject.c | |
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 <[email protected]>
Signed-off-by: Eilon Greenstein <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions