WARNING: line length of 84 exceeds 80 columns #56: FILE: drivers/net/ethernet/mediatek/mtk_eth_soc.c:1151: + for (j = 0; j < DIV_ROUND_UP(soc->tx.fq_dma_size, MTK_FQ_DMA_LENGTH); j++) { WARNING: line length of 81 exceeds 80 columns #57: FILE: drivers/net/ethernet/mediatek/mtk_eth_soc.c:1152: + len = min_t(int, cnt - j * MTK_FQ_DMA_LENGTH, MTK_FQ_DMA_LENGTH); WARNING: line length of 84 exceeds 80 columns #58: FILE: drivers/net/ethernet/mediatek/mtk_eth_soc.c:1153: + eth->scratch_head[j] = kcalloc(len, MTK_QDMA_PAGE_SIZE, GFP_KERNEL); WARNING: line length of 89 exceeds 80 columns #68: FILE: drivers/net/ethernet/mediatek/mtk_eth_soc.c:1159: + eth->scratch_head[j], len * MTK_QDMA_PAGE_SIZE, WARNING: line length of 98 exceeds 80 columns #92: FILE: drivers/net/ethernet/mediatek/mtk_eth_soc.c:1169: + txd = eth->scratch_ring + (j * MTK_FQ_DMA_LENGTH + i) * soc->tx.desc_size; WARNING: line length of 96 exceeds 80 columns #96: FILE: drivers/net/ethernet/mediatek/mtk_eth_soc.c:1173: + (j * MTK_FQ_DMA_LENGTH + i + 1) * soc->tx.desc_size; WARNING: line length of 90 exceeds 80 columns #128: FILE: drivers/net/ethernet/mediatek/mtk_eth_soc.c:2476: + ring->phys = eth->phy_scratch_ring + soc->tx.fq_dma_size * (dma_addr_t)sz; WARNING: line length of 84 exceeds 80 columns #163: FILE: drivers/net/ethernet/mediatek/mtk_eth_soc.c:3150: + for (i = 0; i < DIV_ROUND_UP(soc->tx.fq_dma_size, MTK_FQ_DMA_LENGTH); i++) { total: 0 errors, 8 warnings, 0 checks, 299 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 7b70a13af2bc ("net: ethernet: mtk_eth_soc: handle dma buffer size soc specific") 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, 8 warnings, 0 checks, 299 lines checked