Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

be2net: Don't log "Out of MCCQ wrbs" error

Don't log "Out of MCCQ wrbs" msg. When the driver doesn't receive any
response from the FW it already logs a "FW not responding" message.
The driver runs out of MCCQ wrbs much later. Also, this message can
swamp the kernel log in HW/FW error scenarios.

Signed-off-by: Vasundhara Volam <vasundhara.volam@emulex.com>
Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information...
commit 4d277125d88f14947141083f323a75adf7e52989 1 parent 94d73aa
authored April 21, 2013 davem330 committed April 22, 2013
4  drivers/net/ethernet/emulex/benet/be_cmds.c
@@ -687,10 +687,8 @@ static struct be_mcc_wrb *wrb_from_mccq(struct be_adapter *adapter)
687 687
 	if (!mccq->created)
688 688
 		return NULL;
689 689
 
690  
-	if (atomic_read(&mccq->used) >= mccq->len) {
691  
-		dev_err(&adapter->pdev->dev, "Out of MCCQ wrbs\n");
  690
+	if (atomic_read(&mccq->used) >= mccq->len)
692 691
 		return NULL;
693  
-	}
694 692
 
695 693
 	wrb = queue_head_node(mccq);
696 694
 	queue_head_inc(mccq);

0 notes on commit 4d27712

Please sign in to comment.
Something went wrong with that request. Please try again.