bpf.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH bpf-next] selftests/bpf: Fix mix of tabs and spaces
@ 2020-03-20 20:15 Bill Wendling
  2020-03-20 20:49 ` Daniel Borkmann
  0 siblings, 1 reply; 2+ messages in thread
From: Bill Wendling @ 2020-03-20 20:15 UTC (permalink / raw)
  To: bpf; +Cc: sdf, gthelen, Bill Wendling

Clang's -Wmisleading-indentation warns about misleading indentations if
there's a mixture of spaces and tabs. Remove extraneous spaces.

Signed-off-by: Bill Wendling <morbo@google.com>
---
 tools/testing/selftests/bpf/prog_tests/btf_dump.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/testing/selftests/bpf/prog_tests/btf_dump.c b/tools/testing/selftests/bpf/prog_tests/btf_dump.c
index 7390d3061065..cb33a7ee4e04 100644
--- a/tools/testing/selftests/bpf/prog_tests/btf_dump.c
+++ b/tools/testing/selftests/bpf/prog_tests/btf_dump.c
@@ -125,6 +125,6 @@ void test_btf_dump() {
 		if (!test__start_subtest(t->name))
 			continue;
 
-		 test_btf_dump_case(i, &btf_dump_test_cases[i]);
+		test_btf_dump_case(i, &btf_dump_test_cases[i]);
 	}
 }
-- 
2.25.1.696.g5e7596f4ac-goog


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH bpf-next] selftests/bpf: Fix mix of tabs and spaces
  2020-03-20 20:15 [PATCH bpf-next] selftests/bpf: Fix mix of tabs and spaces Bill Wendling
@ 2020-03-20 20:49 ` Daniel Borkmann
  0 siblings, 0 replies; 2+ messages in thread
From: Daniel Borkmann @ 2020-03-20 20:49 UTC (permalink / raw)
  To: Bill Wendling, bpf; +Cc: sdf, gthelen

On 3/20/20 9:15 PM, Bill Wendling wrote:
> Clang's -Wmisleading-indentation warns about misleading indentations if
> there's a mixture of spaces and tabs. Remove extraneous spaces.
> 
> Signed-off-by: Bill Wendling <morbo@google.com>

Applied, thanks!

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-03-20 20:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-20 20:15 [PATCH bpf-next] selftests/bpf: Fix mix of tabs and spaces Bill Wendling
2020-03-20 20:49 ` Daniel Borkmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).