From: Ariel Elior Date: Mon, 23 Jan 2012 07:31:55 +0000 (+0000) Subject: bnx2x: handle CHIP_REVISION during init_one X-Git-Tag: v3.3-rc2~37^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=65087cfee50595185f6bbf3d78272eeb34186d2b;p=pandora-kernel.git 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 Signed-off-by: Eilon Greenstein Signed-off-by: David S. Miller --- Reading git-diff-tree failed