ravb: Fix a typo in comment
authorBiju Das <biju.das.jz@bp.renesas.com>
Wed, 21 Jul 2021 18:17:21 +0000 (19:17 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 22 Jul 2021 05:55:26 +0000 (22:55 -0700)
Fix the typo RX->TX in comment, as the code following the comment
process TX and not RX.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Sergei Shtylyov <sergei.shtylyov@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/renesas/ravb_main.c

index 69c50f81e1cb293bb7d9a63320480c099e2e8d9e..805397088850dc527a793b272a08a6e4f95b6bfd 100644 (file)
@@ -920,7 +920,7 @@ static int ravb_poll(struct napi_struct *napi, int budget)
        if (ravb_rx(ndev, &quota, q))
                goto out;
 
-       /* Processing RX Descriptor Ring */
+       /* Processing TX Descriptor Ring */
        spin_lock_irqsave(&priv->lock, flags);
        /* Clear TX interrupt */
        ravb_write(ndev, ~(mask | TIS_RESERVED), TIS);