be2net: don't log more than one error on detecting EEH/UE errors
authorSathya Perla <sathya.perla@emulex.com>
Thu, 10 Nov 2011 19:17:59 +0000 (19:17 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 12 Nov 2011 22:59:36 +0000 (17:59 -0500)
commit434b3648e9a58600cea5f3a1a0a7a89048e4df61
tree71d4e591eca1400e0b4522588563675fac764566
parent72f02485626b3e71955e54d227ede1b54021d571
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>
drivers/net/ethernet/emulex/benet/be_cmds.c
drivers/net/ethernet/emulex/benet/be_main.c