be2net: Fix error detection logic for BE3
authorSuresh Reddy <suresh.reddy@broadcom.com>
Mon, 28 May 2018 05:26:06 +0000 (01:26 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 11 Jun 2018 20:49:18 +0000 (22:49 +0200)
commit128f0d700569d70e9ac03bd65b8313357e22736c
tree9ca9fab4bd8d6af957cd3829c55da8c189ec5567
parentd58cf41924e89dd75a9aa77c9c8191cc4e274caa
be2net: Fix error detection logic for BE3

[ Upstream commit d2c2725c2cdbcc108a191f50953d31c7b6556761 ]

Check for 0xE00 (RECOVERABLE_ERR) along with ARMFW UE (0x0)
in be_detect_error() to know whether the error is valid error or not

Fixes: 673c96e5a ("be2net: Fix UE detection logic for BE3")
Signed-off-by: Suresh Reddy <suresh.reddy@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/emulex/benet/be_main.c