WARNING: line length of 81 exceeds 80 columns #72: FILE: drivers/net/virtio_net.c:107: +#define VIRTNET_SQ_STAT(name, m) {name, offsetof(struct virtnet_sq_stats, m), -1} WARNING: line length of 81 exceeds 80 columns #73: FILE: drivers/net/virtio_net.c:108: +#define VIRTNET_RQ_STAT(name, m) {name, offsetof(struct virtnet_rq_stats, m), -1} WARNING: line length of 81 exceeds 80 columns #121: FILE: drivers/net/virtio_net.c:155: +#define VIRTNET_STATS_DESC_RX_QSTAT(class, name, qstat_field) \ WARNING: line length of 81 exceeds 80 columns #122: FILE: drivers/net/virtio_net.c:156: + { \ WARNING: line length of 81 exceeds 80 columns #123: FILE: drivers/net/virtio_net.c:157: + #name, \ WARNING: line length of 81 exceeds 80 columns #124: FILE: drivers/net/virtio_net.c:158: + offsetof(struct virtio_net_stats_rx_ ## class, rx_ ## name), \ WARNING: line length of 81 exceeds 80 columns #125: FILE: drivers/net/virtio_net.c:159: + offsetof(struct netdev_queue_stats_rx, qstat_field), \ WARNING: line length of 81 exceeds 80 columns #128: FILE: drivers/net/virtio_net.c:162: +#define VIRTNET_STATS_DESC_TX_QSTAT(class, name, qstat_field) \ WARNING: line length of 81 exceeds 80 columns #129: FILE: drivers/net/virtio_net.c:163: + { \ WARNING: line length of 81 exceeds 80 columns #130: FILE: drivers/net/virtio_net.c:164: + #name, \ WARNING: line length of 81 exceeds 80 columns #131: FILE: drivers/net/virtio_net.c:165: + offsetof(struct virtio_net_stats_tx_ ## class, tx_ ## name), \ WARNING: line length of 81 exceeds 80 columns #132: FILE: drivers/net/virtio_net.c:166: + offsetof(struct netdev_queue_stats_tx, qstat_field), \ WARNING: line length of 85 exceeds 80 columns #184: FILE: drivers/net/virtio_net.c:212: + VIRTNET_STATS_DESC_RX_QSTAT(gso, gso_packets_coalesced, hw_gro_wire_packets), WARNING: line length of 83 exceeds 80 columns #185: FILE: drivers/net/virtio_net.c:213: + VIRTNET_STATS_DESC_RX_QSTAT(gso, gso_bytes_coalesced, hw_gro_wire_bytes), WARNING: line length of 82 exceeds 80 columns #195: FILE: drivers/net/virtio_net.c:219: + VIRTNET_STATS_DESC_TX_QSTAT(gso, gso_segments, hw_gso_wire_packets), WARNING: line length of 91 exceeds 80 columns #204: FILE: drivers/net/virtio_net.c:227: + VIRTNET_STATS_DESC_RX_QSTAT(speed, packets_allowance_exceeded, hw_drop_ratelimits), WARNING: line length of 91 exceeds 80 columns #210: FILE: drivers/net/virtio_net.c:232: + VIRTNET_STATS_DESC_TX_QSTAT(speed, packets_allowance_exceeded, hw_drop_ratelimits), WARNING: line length of 89 exceeds 80 columns #273: FILE: drivers/net/virtio_net.c:3633: + offset = desc->qstat_offset / sizeof(*ctx->data); WARNING: line length of 81 exceeds 80 columns #339: FILE: drivers/net/virtio_net.c:3753: + virtnet_make_stat_req(vi, ctx, req, vi->max_queue_pairs * 2, &j); total: 0 errors, 19 warnings, 0 checks, 352 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 79d415182c8f ("virtio-net: support queue stat") 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, 19 warnings, 0 checks, 352 lines checked