Skip to content

Commit 057a0c5

Browse files
aakoskindavem330
authored andcommitted
net: stmmac: don't log oversized frames
This is log is harmful as it can trigger multiple times per packet. Delete it. Signed-off-by: Aaro Koskinen <aaro.koskinen@nokia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 8ac0c24 commit 057a0c5

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/net/ethernet/stmicro/stmmac/norm_desc.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,6 @@ static int ndesc_get_rx_status(void *data, struct stmmac_extra_stats *x,
9191
return dma_own;
9292

9393
if (unlikely(!(rdes0 & RDES0_LAST_DESCRIPTOR))) {
94-
pr_warn("%s: Oversized frame spanned multiple buffers\n",
95-
__func__);
9694
stats->rx_length_errors++;
9795
return discard_frame;
9896
}

0 commit comments

Comments
 (0)