========== checkpatch - FAILED ERROR: code indent should use tabs where possible #27: FILE: tools/testing/selftests/bpf/progs/iters.c:1493: + struct bpf_iter_num it;$ WARNING: please, no spaces at the start of a line #27: FILE: tools/testing/selftests/bpf/progs/iters.c:1493: + struct bpf_iter_num it;$ ERROR: code indent should use tabs where possible #28: FILE: tools/testing/selftests/bpf/progs/iters.c:1494: + int *v;$ WARNING: please, no spaces at the start of a line #28: FILE: tools/testing/selftests/bpf/progs/iters.c:1494: + int *v;$ ERROR: code indent should use tabs where possible #30: FILE: tools/testing/selftests/bpf/progs/iters.c:1496: + int *map_val = NULL;$ WARNING: please, no spaces at the start of a line #30: FILE: tools/testing/selftests/bpf/progs/iters.c:1496: + int *map_val = NULL;$ ERROR: code indent should use tabs where possible #31: FILE: tools/testing/selftests/bpf/progs/iters.c:1497: + int key = 0;$ WARNING: please, no spaces at the start of a line #31: FILE: tools/testing/selftests/bpf/progs/iters.c:1497: + int key = 0;$ ERROR: code indent should use tabs where possible #33: FILE: tools/testing/selftests/bpf/progs/iters.c:1499: + map_val = bpf_map_lookup_elem(&arr_map, &key);$ WARNING: please, no spaces at the start of a line #33: FILE: tools/testing/selftests/bpf/progs/iters.c:1499: + map_val = bpf_map_lookup_elem(&arr_map, &key);$ ERROR: code indent should use tabs where possible #34: FILE: tools/testing/selftests/bpf/progs/iters.c:1500: + if (!map_val)$ WARNING: please, no spaces at the start of a line #34: FILE: tools/testing/selftests/bpf/progs/iters.c:1500: + if (!map_val)$ ERROR: code indent should use tabs where possible #35: FILE: tools/testing/selftests/bpf/progs/iters.c:1501: + return 0;$ WARNING: please, no spaces at the start of a line #35: FILE: tools/testing/selftests/bpf/progs/iters.c:1501: + return 0;$ ERROR: code indent should use tabs where possible #37: FILE: tools/testing/selftests/bpf/progs/iters.c:1503: + bpf_iter_num_new(&it, 0, 3);$ WARNING: please, no spaces at the start of a line #37: FILE: tools/testing/selftests/bpf/progs/iters.c:1503: + bpf_iter_num_new(&it, 0, 3);$ ERROR: code indent should use tabs where possible #38: FILE: tools/testing/selftests/bpf/progs/iters.c:1504: + while ((v = bpf_iter_num_next((struct bpf_iter_num*)map_val))) {}$ WARNING: please, no spaces at the start of a line #38: FILE: tools/testing/selftests/bpf/progs/iters.c:1504: + while ((v = bpf_iter_num_next((struct bpf_iter_num*)map_val))) {}$ ERROR: "(foo*)" should be "(foo *)" #38: FILE: tools/testing/selftests/bpf/progs/iters.c:1504: + while ((v = bpf_iter_num_next((struct bpf_iter_num*)map_val))) {} ERROR: trailing statements should be on next line #38: FILE: tools/testing/selftests/bpf/progs/iters.c:1504: + while ((v = bpf_iter_num_next((struct bpf_iter_num*)map_val))) {} WARNING: braces {} are not necessary for single statement blocks #38: FILE: tools/testing/selftests/bpf/progs/iters.c:1504: + while ((v = bpf_iter_num_next((struct bpf_iter_num*)map_val))) {} ERROR: code indent should use tabs where possible #39: FILE: tools/testing/selftests/bpf/progs/iters.c:1505: + bpf_iter_num_destroy(&it);$ WARNING: please, no spaces at the start of a line #39: FILE: tools/testing/selftests/bpf/progs/iters.c:1505: + bpf_iter_num_destroy(&it);$ ERROR: code indent should use tabs where possible #41: FILE: tools/testing/selftests/bpf/progs/iters.c:1507: + return 0;$ WARNING: please, no spaces at the start of a line #41: FILE: tools/testing/selftests/bpf/progs/iters.c:1507: + return 0;$ total: 13 errors, 12 warnings, 0 checks, 25 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. NOTE: Whitespace errors detected. You may wish to use scripts/cleanpatch or scripts/cleanfile Commit f52f39025ca9 ("selftests/bpf: Add a test for the type checking of iter args") 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.