mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-12 07:34:08 +08:00
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>
This commit is contained in:
parent
94d73aaa3f
commit
4d277125d8
@ -687,10 +687,8 @@ static struct be_mcc_wrb *wrb_from_mccq(struct be_adapter *adapter)
|
||||
if (!mccq->created)
|
||||
return NULL;
|
||||
|
||||
if (atomic_read(&mccq->used) >= mccq->len) {
|
||||
dev_err(&adapter->pdev->dev, "Out of MCCQ wrbs\n");
|
||||
if (atomic_read(&mccq->used) >= mccq->len)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
wrb = queue_head_node(mccq);
|
||||
queue_head_inc(mccq);
|
||||
|
Loading…
Reference in New Issue
Block a user