Message ID | 20241010183034.24739-1-alessandro.zanni87@gmail.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | [v2] selftests: drivers: net: fix name not defined | expand |
Hello: This patch was applied to netdev/net.git (main) by Jakub Kicinski <kuba@kernel.org>: On Thu, 10 Oct 2024 20:30:30 +0200 you wrote: > This fix solves this error, when calling kselftest with targets > "drivers/net": > > File "tools/testing/selftests/net/lib/py/nsim.py", line 64, in __init__ > if e.errno == errno.ENOSPC: > NameError: name 'errno' is not defined > > [...] Here is the summary with links: - [v2] selftests: drivers: net: fix name not defined https://git.kernel.org/netdev/net/c/174714f0e505 You are awesome, thank you!
diff --git a/tools/testing/selftests/net/lib/py/nsim.py b/tools/testing/selftests/net/lib/py/nsim.py index f571a8b3139b..1a8cbe9acc48 100644 --- a/tools/testing/selftests/net/lib/py/nsim.py +++ b/tools/testing/selftests/net/lib/py/nsim.py @@ -1,5 +1,6 @@ # SPDX-License-Identifier: GPL-2.0 +import errno import json import os import random