From: Florian Fainelli Date: Sun, 4 Dec 2016 20:40:30 +0000 (-0800) Subject: net: ethoc: Demote packet dropped error message to debug X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=38b4bc207795339084ab41a2d9fa1add5cfd97d0;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git net: ethoc: Demote packet dropped error message to debug 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 Reviewed-by: Tobias Klauser Acked-by: Thierry Reding Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/ethoc.c b/drivers/net/ethernet/ethoc.c index 8d0cb5ce87ee..45abc81f6f55 100644 --- a/drivers/net/ethernet/ethoc.c +++ b/drivers/net/ethernet/ethoc.c @@ -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++; }