WARNING: line length of 82 exceeds 80 columns #77: FILE: net/quic/cong.c:18: +static int quic_cong_check_persistent_congestion(struct quic_cong *cong, u32 time) WARNING: line length of 81 exceeds 80 columns #85: FILE: net/quic/cong.c:26: + ssthresh = cong->smoothed_rtt + max(4 * cong->rttvar, QUIC_KGRANULARITY); WARNING: line length of 92 exceeds 80 columns #86: FILE: net/quic/cong.c:27: + ssthresh = (ssthresh + cong->max_ack_delay) * QUIC_KPERSISTENT_CONGESTION_THRESHOLD; WARNING: line length of 93 exceeds 80 columns #99: FILE: net/quic/cong.c:40: +static void quic_reno_on_packet_lost(struct quic_cong *cong, u32 time, u32 bytes, s64 number) WARNING: line length of 84 exceeds 80 columns #116: FILE: net/quic/cong.c:57: + pr_debug("%s: wrong congestion state: %d\n", __func__, cong->state); WARNING: line length of 94 exceeds 80 columns #126: FILE: net/quic/cong.c:67: +static void quic_reno_on_packet_acked(struct quic_cong *cong, u32 time, u32 bytes, s64 number) WARNING: line length of 82 exceeds 80 columns #130: FILE: net/quic/cong.c:71: + cong->window = min_t(u32, cong->window + bytes, cong->max_window); WARNING: line length of 84 exceeds 80 columns #148: FILE: net/quic/cong.c:89: + pr_debug("%s: wrong congestion state: %d\n", __func__, cong->state); WARNING: line length of 84 exceeds 80 columns #167: FILE: net/quic/cong.c:108: + pr_debug("%s: wrong congestion state: %d\n", __func__, cong->state); WARNING: line length of 86 exceeds 80 columns #191: FILE: net/quic/cong.c:132: +void quic_cong_on_packet_lost(struct quic_cong *cong, u32 time, u32 bytes, s64 number) WARNING: line length of 87 exceeds 80 columns #196: FILE: net/quic/cong.c:137: +void quic_cong_on_packet_acked(struct quic_cong *cong, u32 time, u32 bytes, s64 number) WARNING: line length of 85 exceeds 80 columns #220: FILE: net/quic/cong.c:161: + loss_delay = QUIC_KTIME_THRESHOLD(max(cong->smoothed_rtt, cong->latest_rtt)); WARNING: line length of 88 exceeds 80 columns #228: FILE: net/quic/cong.c:169: + * This function tracks when the next packet is allowed to be sent based on pacing rate. WARNING: line length of 85 exceeds 80 columns #248: FILE: net/quic/cong.c:189: +/* Compute and update the pacing rate based on congestion window and smoothed RTT. */ WARNING: line length of 82 exceeds 80 columns #249: FILE: net/quic/cong.c:190: +static void quic_cong_pace_update(struct quic_cong *cong, u32 bytes, u32 max_rate) WARNING: line length of 86 exceeds 80 columns #263: FILE: net/quic/cong.c:204: +void quic_cong_on_packet_sent(struct quic_cong *cong, u32 time, u32 bytes, s64 number) WARNING: line length of 85 exceeds 80 columns #290: FILE: net/quic/cong.c:231: + /* rfc9002#section-5.1: latest_rtt = ack_time - send_time_of_largest_acked */ WARNING: line length of 89 exceeds 80 columns #453: FILE: net/quic/cong.h:81: + void (*on_packet_acked)(struct quic_cong *cong, u32 time, u32 bytes, s64 number); WARNING: line length of 88 exceeds 80 columns #454: FILE: net/quic/cong.h:82: + void (*on_packet_lost)(struct quic_cong *cong, u32 time, u32 bytes, s64 number); WARNING: line length of 88 exceeds 80 columns #459: FILE: net/quic/cong.h:87: + void (*on_packet_sent)(struct quic_cong *cong, u32 time, u32 bytes, s64 number); WARNING: line length of 88 exceeds 80 columns #482: FILE: net/quic/cong.h:110: +void quic_cong_on_packet_acked(struct quic_cong *cong, u32 time, u32 bytes, s64 number); WARNING: line length of 87 exceeds 80 columns #483: FILE: net/quic/cong.h:111: +void quic_cong_on_packet_lost(struct quic_cong *cong, u32 time, u32 bytes, s64 number); WARNING: line length of 87 exceeds 80 columns #486: FILE: net/quic/cong.h:114: +void quic_cong_on_packet_sent(struct quic_cong *cong, u32 time, u32 bytes, s64 number); total: 0 errors, 23 warnings, 0 checks, 465 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 597a19303654 ("quic: add congestion control") has style problems, please review. NOTE: Ignored message types: ALLOC_SIZEOF_STRUCT BAD_REPORTED_BY_LINK CAMELCASE COMMIT_LOG_LONG_LINE FILE_PATH_CHANGES 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, 23 warnings, 0 checks, 465 lines checked