WARNING: line length of 94 exceeds 80 columns #235: FILE: drivers/net/virtio_net.c:3403: +static void virtnet_get_hw_stats_string(struct virtnet_info *vi, int type, int qid, u8 **data) WARNING: line length of 95 exceeds 80 columns #256: FILE: drivers/net/virtio_net.c:3424: + ethtool_sprintf(&p, "rx_queue_hw_%u_%s", qid, m->desc[j].desc); WARNING: line length of 95 exceeds 80 columns #260: FILE: drivers/net/virtio_net.c:3428: + ethtool_sprintf(&p, "tx_queue_hw_%u_%s", qid, m->desc[j].desc); WARNING: line length of 81 exceeds 80 columns #264: FILE: drivers/net/virtio_net.c:3432: + ethtool_sprintf(&p, "cq_hw_%s", m->desc[j].desc); WARNING: line length of 85 exceeds 80 columns #332: FILE: drivers/net/virtio_net.c:3500: + offset = num_cq + num_rx * vi->curr_queue_pairs + num_tx * (qid / 2); WARNING: line length of 87 exceeds 80 columns #449: FILE: drivers/net/virtio_net.c:3617: + return __virtnet_get_hw_stats(vi, ctx, req, sizeof(*req) * j, reply, res_size); WARNING: line length of 82 exceeds 80 columns #466: FILE: drivers/net/virtio_net.c:3635: + virtnet_get_hw_stats_string(vi, VIRTNET_Q_TYPE_RX, i, &p); WARNING: line length of 82 exceeds 80 columns #474: FILE: drivers/net/virtio_net.c:3643: + virtnet_get_hw_stats_string(vi, VIRTNET_Q_TYPE_TX, i, &p); WARNING: line length of 92 exceeds 80 columns #493: FILE: drivers/net/virtio_net.c:3661: + sg_init_one(&sg, &vi->ctrl->stats_cap, sizeof(vi->ctrl->stats_cap)); WARNING: line length of 81 exceeds 80 columns #502: FILE: drivers/net/virtio_net.c:3670: + v = vi->ctrl->stats_cap.supported_stats_types[0]; WARNING: line length of 96 exceeds 80 columns #510: FILE: drivers/net/virtio_net.c:3678: + pair_count += ctx.desc_num[VIRTNET_Q_TYPE_RX] + ctx.desc_num[VIRTNET_Q_TYPE_TX]; WARNING: line length of 91 exceeds 80 columns #512: FILE: drivers/net/virtio_net.c:3680: + return ctx.desc_num[VIRTNET_Q_TYPE_CQ] + vi->curr_queue_pairs * pair_count; total: 0 errors, 12 warnings, 0 checks, 484 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 c4814ad5f493 ("virtio_net: support device stats") 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, 12 warnings, 0 checks, 484 lines checked