aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/emulex/benet/be_main.c
diff options
context:
space:
mode:
authorSathya Perla <sathya.perla@emulex.com>2011-11-10 14:17:59 -0500
committerDavid S. Miller <davem@davemloft.net>2011-11-12 17:59:36 -0500
commit434b3648e9a58600cea5f3a1a0a7a89048e4df61 (patch)
tree71d4e591eca1400e0b4522588563675fac764566 /drivers/net/ethernet/emulex/benet/be_main.c
parent72f02485626b3e71955e54d227ede1b54021d571 (diff)
be2net: don't log more than one error on detecting EEH/UE errors
Currently we're spamming error messages each time a FW cmd call is made while in EEH/UE error state. One log msg on error detection is enough. Signed-off-by: Sathya Perla <sathya.perla@emulex.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/emulex/benet/be_main.c')
-rw-r--r--drivers/net/ethernet/emulex/benet/be_main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/ethernet/emulex/benet/be_main.c b/drivers/net/ethernet/emulex/benet/be_main.c
index 99da07ff4510..0e97b6d01c79 100644
--- a/drivers/net/ethernet/emulex/benet/be_main.c
+++ b/drivers/net/ethernet/emulex/benet/be_main.c
@@ -2007,7 +2007,8 @@ void be_detect_dump_ue(struct be_adapter *adapter)
2007 sliport_status & SLIPORT_STATUS_ERR_MASK) { 2007 sliport_status & SLIPORT_STATUS_ERR_MASK) {
2008 adapter->ue_detected = true; 2008 adapter->ue_detected = true;
2009 adapter->eeh_err = true; 2009 adapter->eeh_err = true;
2010 dev_err(&adapter->pdev->dev, "UE Detected!!\n"); 2010 dev_err(&adapter->pdev->dev,
2011 "Unrecoverable error in the card\n");
2011 } 2012 }
2012 2013
2013 if (ue_lo) { 2014 if (ue_lo) {