CHECK: Macro argument 'x' may be better as '(x)' to avoid precedence issues #41: FILE: drivers/net/ethernet/stmicro/stmmac/common.h:66: +#define STMMAC_NEXT_ENTRY(x, size) ((x + 1) & (size - 1)) CHECK: Macro argument 'size' may be better as '(size)' to avoid precedence issues #41: FILE: drivers/net/ethernet/stmicro/stmmac/common.h:66: +#define STMMAC_NEXT_ENTRY(x, size) ((x + 1) & (size - 1)) WARNING: line length of 91 exceeds 80 columns #67: FILE: drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:2783: + tx_q->cur_tx = STMMAC_NEXT_ENTRY(tx_q->cur_tx, priv->dma_conf.dma_tx_size); WARNING: line length of 83 exceeds 80 columns #85: FILE: drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:4306: + tx_q->cur_tx = STMMAC_NEXT_ENTRY(tx_q->cur_tx, priv->dma_conf.dma_tx_size); CHECK: Alignment should match open parenthesis #95: FILE: drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:4335: + tx_q->cur_tx = STMMAC_NEXT_ENTRY(tx_q->cur_tx, priv->dma_conf.dma_tx_size); CHECK: Alignment should match open parenthesis #104: FILE: drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:4477: + tx_q->cur_tx = STMMAC_NEXT_ENTRY(tx_q->cur_tx, priv->dma_conf.dma_tx_size); WARNING: line length of 83 exceeds 80 columns #112: FILE: drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:4576: + tx_q->cur_tx = STMMAC_NEXT_ENTRY(tx_q->cur_tx, priv->dma_conf.dma_tx_size); CHECK: Alignment should match open parenthesis #167: FILE: drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:5458: + rx_q->cur_rx = STMMAC_NEXT_ENTRY(rx_q->cur_rx, priv->dma_conf.dma_rx_size); CHECK: Alignment should match open parenthesis #176: FILE: drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:5642: + rx_q->cur_rx = STMMAC_NEXT_ENTRY(rx_q->cur_rx, priv->dma_conf.dma_rx_size); total: 0 errors, 3 warnings, 6 checks, 128 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 10612c61f5e1 ("net: stmmac: rename STMMAC_GET_ENTRY() -> STMMAC_NEXT_ENTRY()") has style problems, please review. NOTE: Ignored message types: ALLOC_SIZEOF_STRUCT BAD_REPORTED_BY_LINK CAMELCASE COMMIT_LOG_LONG_LINE FILE_PATH_CHANGES 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, 3 warnings, 6 checks, 128 lines checked