net: ethoc: Demote packet dropped error message to debug
authorFlorian Fainelli <f.fainelli@gmail.com>
Sun, 4 Dec 2016 20:40:30 +0000 (12:40 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Dec 2016 20:30:04 +0000 (15:30 -0500)
Spamming the console with: net eth1: packet dropped can happen
fairly frequently if the adapter is busy transmitting, demote the
message to a debug print.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Tobias Klauser <tklauser@distanz.ch>
Acked-by: Thierry Reding <thierry.reding@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ethoc.c

index 8d0cb5ce87ee5e4bbfd767d5cbde51754ea1bb4c..45abc81f6f55efe7644897ea36fa3cd9dfa40e4c 100644 (file)
@@ -576,7 +576,7 @@ static irqreturn_t ethoc_interrupt(int irq, void *dev_id)
 
        /* We always handle the dropped packet interrupt */
        if (pending & INT_MASK_BUSY) {
-               dev_err(&dev->dev, "packet dropped\n");
+               dev_dbg(&dev->dev, "packet dropped\n");
                dev->stats.rx_dropped++;
        }