WARNING: line length of 96 exceeds 80 columns #170: FILE: tools/testing/selftests/bpf/network_helpers.c:756: + printf("IPv4 ICMP packet: %s -> %s, len %d, type %d, code %d, ifname %s (%s)\n", WARNING: line length of 98 exceeds 80 columns #175: FILE: tools/testing/selftests/bpf/network_helpers.c:761: + printf("IPv6 ICMPv6 packet: %s -> %s, len %d, type %d, code %d, ifname %s (%s)\n", WARNING: else is not generally useful after a break or return #179: FILE: tools/testing/selftests/bpf/network_helpers.c:765: + return; + } else { WARNING: line length of 84 exceeds 80 columns #190: FILE: tools/testing/selftests/bpf/network_helpers.c:776: + printf("IPv6 %s packet: [%s]:%d -> [%s]:%d, len %d, ifname %s (%s)", WARNING: line length of 94 exceeds 80 columns #276: FILE: tools/testing/selftests/bpf/network_helpers.c:862: + log_err("Fail to select on pcap fd and wake fd: %s", strerror(errno)); WARNING: line length of 91 exceeds 80 columns #320: FILE: tools/testing/selftests/bpf/network_helpers.c:906: + snprintf(_ifname, sizeof(_ifname), "unknown(%d)", ifindex); WARNING: line length of 84 exceeds 80 columns #324: FILE: tools/testing/selftests/bpf/network_helpers.c:910: + printf("Unknown network protocol type %x, ifname %s (%s)\n", WARNING: line length of 100 exceeds 80 columns #387: FILE: tools/testing/selftests/bpf/network_helpers.c:973: +static void encode_test_name(char *buf, size_t len, const char *test_name, const char *subtest_name) WARNING: line length of 84 exceeds 80 columns #414: FILE: tools/testing/selftests/bpf/network_helpers.c:1000: +struct tmonitor_ctx *traffic_monitor_start(const char *netns, const char *test_name, WARNING: line length of 88 exceeds 80 columns #436: FILE: tools/testing/selftests/bpf/network_helpers.c:1022: + encode_test_name(test_name_buf, sizeof(test_name_buf), test_name, subtest_name); WARNING: line length of 84 exceeds 80 columns #542: FILE: tools/testing/selftests/bpf/network_helpers.h:142: +struct tmonitor_ctx *traffic_monitor_start(const char *netns, const char *test_name, WARNING: line length of 98 exceeds 80 columns #546: FILE: tools/testing/selftests/bpf/network_helpers.h:146: +static inline struct tmonitor_ctx *traffic_monitor_start(const char *netns, const char *test_name, WARNING: line length of 82 exceeds 80 columns #547: FILE: tools/testing/selftests/bpf/network_helpers.h:147: + const char *subtest_name) total: 0 errors, 13 warnings, 0 checks, 505 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 956b545a3f96 ("selftests/bpf: Add traffic monitor functions.") 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, 13 warnings, 0 checks, 505 lines checked