From: Dmitry Kravkov Date: Sun, 17 Nov 2013 06:59:27 +0000 (+0200) Subject: bnx2x: Prevent panic during DMAE timeout X-Git-Tag: v3.13-rc1~33^2~9^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9dcd9acd69b1321fa008c3ce3ec299d04cd46774;p=pandora-kernel.git bnx2x: Prevent panic during DMAE timeout If chip enters a recovery flow just after the driver issues a DMAE request the DMAE will timeout. Current code will cause a bnx2x_panic() as a result, which means interface will no longer be usable (regardless of the recovery results), as bnx2x_panic() is irreversible for the driver. As this is a possible flow, the panic should be reached only when driver is compiled with STOP_ON_ERROR. Signed-off-by: Dmitry Kravkov Signed-off-by: Yuval Mintz Signed-off-by: Ariel Elior Signed-off-by: David S. Miller --- Reading git-diff-tree failed