WARNING: line length of 81 exceeds 80 columns #32: FILE: drivers/net/ethernet/hisilicon/hibmcge/hbg_common.h:21: +#define HBG_PACKET_HEAD_SIZE ((HBG_RX_SKIP1 + HBG_RX_SKIP2 + HBG_RX_DESCR) * \ WARNING: line length of 81 exceeds 80 columns #53: FILE: drivers/net/ethernet/hisilicon/hibmcge/hbg_hw.c:71: + 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 #177: FILE: drivers/net/ethernet/hisilicon/hibmcge/hbg_txrx.c:17: +#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 #302: FILE: drivers/net/ethernet/hisilicon/hibmcge/hbg_txrx.c:279: + buffer->skb->protocol = eth_type_trans(buffer->skb, priv->netdev); total: 0 errors, 3 warnings, 1 checks, 317 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 20dae7a5a4ec ("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, 3 warnings, 1 checks, 317 lines checked