[PATCH 5/7] selftest/bpf: Fix PEP8 ambiguous variable name
From: Alice Ferrazzi
Date: Tue Dec 11 2018 - 06:55:59 EST
Signed-off-by: Alice Ferrazzi <alice.ferrazzi@xxxxxxxxx>
---
tools/testing/selftests/bpf/test_offload.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/testing/selftests/bpf/test_offload.py b/tools/testing/selftests/bpf/test_offload.py
index f80c4f13991d..0f9130ebfd2c 100755
--- a/tools/testing/selftests/bpf/test_offload.py
+++ b/tools/testing/selftests/bpf/test_offload.py
@@ -623,8 +623,8 @@ def check_no_extack(res, needle):
def check_verifier_log(output, reference):
lines = output.split("\n")
- for l in reversed(lines):
- if l == reference:
+ for line in reversed(lines):
+ if line == reference:
return
fail(True, "Missing or incorrect message from netdevsim in verifier log")
--
2.19.2