WARNING: line length of 81 exceeds 80 columns #31: FILE: drivers/net/ethernet/hisilicon/hibmcge/hbg_common.h:20: +#define HBG_PACKET_HEAD_SIZE ((HBG_RX_SKIP1 + HBG_RX_SKIP2 + HBG_RX_DESCR) * \ WARNING: line length of 81 exceeds 80 columns #52: FILE: drivers/net/ethernet/hisilicon/hibmcge/hbg_hw.c:76: + dev_specs->rx_buf_size = HBG_PACKET_HEAD_SIZE + dev_specs->max_frame_len; CHECK: Macro argument 'p' may be better as '(p)' to avoid precedence issues #159: FILE: drivers/net/ethernet/hisilicon/hibmcge/hbg_txrx.c:25: +#define hbg_queue_move_next(p, ring) ({ \ + typeof(ring) _ring = (ring); \ + _ring->p = hbg_queue_next_prt(_ring->p, _ring); }) WARNING: line length of 82 exceeds 80 columns #279: FILE: drivers/net/ethernet/hisilicon/hibmcge/hbg_txrx.c:278: + buffer->skb->protocol = eth_type_trans(buffer->skb, priv->netdev); WARNING: line length of 81 exceeds 80 columns #320: FILE: drivers/net/ethernet/hisilicon/hibmcge/hbg_txrx.c:379: + return hbg_ring_init(priv, &priv->rx_ring, hbg_napi_rx_poll, HBG_DIR_RX); total: 0 errors, 4 warnings, 1 checks, 304 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 b8358b7b412e ("net: hibmcge: Implement rx_poll function to receive packets") 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, 4 warnings, 1 checks, 304 lines checked