WARNING: line length of 89 exceeds 80 columns #170: FILE: drivers/net/virtio_net.c:3376: + int num, int qid, const struct virtnet_stat_desc *desc) WARNING: line length of 94 exceeds 80 columns #183: FILE: drivers/net/virtio_net.c:3389: +static void virtnet_get_hw_stats_string(struct virtnet_info *vi, int type, int qid, u8 **data) WARNING: line length of 81 exceeds 80 columns #284: FILE: drivers/net/virtio_net.c:3490: + ctx->size[queue_type] += sizeof(struct virtio_net_stats_cvq); WARNING: line length of 85 exceeds 80 columns #291: FILE: drivers/net/virtio_net.c:3497: + ctx->desc_num[queue_type] += ARRAY_SIZE(virtnet_stats_rx_basic_desc); WARNING: line length of 86 exceeds 80 columns #292: FILE: drivers/net/virtio_net.c:3498: + ctx->size[queue_type] += sizeof(struct virtio_net_stats_rx_basic); WARNING: line length of 84 exceeds 80 columns #297: FILE: drivers/net/virtio_net.c:3503: + ctx->desc_num[queue_type] += ARRAY_SIZE(virtnet_stats_rx_csum_desc); WARNING: line length of 85 exceeds 80 columns #298: FILE: drivers/net/virtio_net.c:3504: + ctx->size[queue_type] += sizeof(struct virtio_net_stats_rx_csum); WARNING: line length of 85 exceeds 80 columns #303: FILE: drivers/net/virtio_net.c:3509: + ctx->desc_num[queue_type] += ARRAY_SIZE(virtnet_stats_rx_speed_desc); WARNING: line length of 86 exceeds 80 columns #304: FILE: drivers/net/virtio_net.c:3510: + ctx->size[queue_type] += sizeof(struct virtio_net_stats_rx_speed); WARNING: line length of 85 exceeds 80 columns #311: FILE: drivers/net/virtio_net.c:3517: + ctx->desc_num[queue_type] += ARRAY_SIZE(virtnet_stats_tx_basic_desc); WARNING: line length of 86 exceeds 80 columns #312: FILE: drivers/net/virtio_net.c:3518: + ctx->size[queue_type] += sizeof(struct virtio_net_stats_tx_basic); WARNING: line length of 83 exceeds 80 columns #317: FILE: drivers/net/virtio_net.c:3523: + ctx->desc_num[queue_type] += ARRAY_SIZE(virtnet_stats_tx_gso_desc); WARNING: line length of 84 exceeds 80 columns #318: FILE: drivers/net/virtio_net.c:3524: + ctx->size[queue_type] += sizeof(struct virtio_net_stats_tx_gso); WARNING: line length of 85 exceeds 80 columns #323: FILE: drivers/net/virtio_net.c:3529: + ctx->desc_num[queue_type] += ARRAY_SIZE(virtnet_stats_tx_speed_desc); WARNING: line length of 86 exceeds 80 columns #324: FILE: drivers/net/virtio_net.c:3530: + ctx->size[queue_type] += sizeof(struct virtio_net_stats_tx_speed); WARNING: line length of 85 exceeds 80 columns #356: FILE: drivers/net/virtio_net.c:3562: + offset = num_cq + num_rx * vi->curr_queue_pairs + num_tx * (qid / 2); WARNING: line length of 85 exceeds 80 columns #524: FILE: drivers/net/virtio_net.c:3730: + ok = __virtnet_get_hw_stats(vi, ctx, req, sizeof(*req) * j, reply, res_size); WARNING: line length of 82 exceeds 80 columns #546: FILE: drivers/net/virtio_net.c:3753: + virtnet_get_hw_stats_string(vi, VIRTNET_Q_TYPE_RX, i, &p); WARNING: line length of 82 exceeds 80 columns #554: FILE: drivers/net/virtio_net.c:3761: + virtnet_get_hw_stats_string(vi, VIRTNET_Q_TYPE_TX, i, &p); WARNING: line length of 96 exceeds 80 columns #572: FILE: drivers/net/virtio_net.c:3778: + pair_count += ctx.desc_num[VIRTNET_Q_TYPE_RX] + ctx.desc_num[VIRTNET_Q_TYPE_TX]; WARNING: line length of 91 exceeds 80 columns #574: FILE: drivers/net/virtio_net.c:3780: + return ctx.desc_num[VIRTNET_Q_TYPE_CQ] + vi->curr_queue_pairs * pair_count; WARNING: line length of 84 exceeds 80 columns #622: FILE: drivers/net/virtio_net.c:5402: + sg_init_one(&sg, &vi->ctrl->stats_cap, sizeof(vi->ctrl->stats_cap)); total: 0 errors, 22 warnings, 0 checks, 565 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 dd4c31170cd1 ("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, 22 warnings, 0 checks, 565 lines checked