lkml.org 
[lkml]   [2018]   [Dec]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 5/7] selftest/bpf: Fix PEP8 ambiguous variable name
Date
Signed-off-by: Alice Ferrazzi <alice.ferrazzi@gmail.com>
---
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
\
 
 \ /
  Last update: 2018-12-11 12:56    [W:0.129 / U:0.568 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site