WARNING: line length of 82 exceeds 80 columns #77: FILE: drivers/net/ethernet/mediatek/mtk_eth_soc.c:1192: + txd->txd2 = eth->phy_scratch_ring + phy_ring_addr; WARNING: line length of 83 exceeds 80 columns #128: FILE: drivers/net/ethernet/mediatek/mtk_eth_soc.c:1542: + next_idx = NEXT_DESP_IDX(txd_to_idx(ring, txd, soc->tx.desc_shift), WARNING: line length of 83 exceeds 80 columns #234: FILE: drivers/net/ethernet/mediatek/mtk_eth_soc.c:2499: + ring->dma = eth->sram_base + TX_DESC_OFS(eth, soc->tx.fq_dma_size); WARNING: line length of 91 exceeds 80 columns #235: FILE: drivers/net/ethernet/mediatek/mtk_eth_soc.c:2500: + ring->phys = eth->phy_scratch_ring + TX_DESC_OFS(eth, soc->tx.fq_dma_size); WARNING: line length of 89 exceeds 80 columns #238: FILE: drivers/net/ethernet/mediatek/mtk_eth_soc.c:2502: + ring->dma = dma_alloc_coherent(eth->dma_dev, TX_DESC_OFS(eth, ring_size), WARNING: line length of 94 exceeds 80 columns #266: FILE: drivers/net/ethernet/mediatek/mtk_eth_soc.c:2532: + ring->dma_pdma = dma_alloc_coherent(eth->dma_dev, TX_DESC_OFS(eth, ring_size), WARNING: line length of 82 exceeds 80 columns #275: FILE: drivers/net/ethernet/mediatek/mtk_eth_soc.c:2547: + ring->last_free_ptr = (u32)(ring->phys + TX_DESC_OFS(eth, ring_size - 1)); WARNING: line length of 90 exceeds 80 columns #319: FILE: drivers/net/ethernet/mediatek/mtk_eth_soc.c:2676: + ring->dma = tx_ring->dma + TX_DESC_OFS(eth, tx_ring_size * (ring_no + 1)); WARNING: line length of 92 exceeds 80 columns #320: FILE: drivers/net/ethernet/mediatek/mtk_eth_soc.c:2677: + ring->phys = tx_ring->phys + TX_DESC_OFS(eth, tx_ring_size * (ring_no + 1)); total: 0 errors, 9 warnings, 0 checks, 487 lines checked NOTE: For some of the reported defects, checkpatch may be able to mechanically convert to the typical style using --fix or --fix-inplace. Commit b8e2bcfb3f63 ("net: ethernet: mtk_eth_soc: optimize dma ring address/index calculation") has style problems, please review. NOTE: Ignored message types: ALLOC_SIZEOF_STRUCT BAD_REPORTED_BY_LINK CAMELCASE COMMIT_LOG_LONG_LINE GIT_COMMIT_ID MACRO_ARG_REUSE NO_AUTHOR_SIGN_OFF NOTE: If any of the errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. total: 0 errors, 9 warnings, 0 checks, 487 lines checked