Re: [PATCH] selftests: drivers: net: fix name not defined
From: Petr Machata
Date: Thu Oct 10 2024 - 04:29:34 EST
Alessandro Zanni <alessandro.zanni87@xxxxxxxxx> writes:
> 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
>
> The module errno makes available standard error system symbols.
>
> Signed-off-by: Alessandro Zanni <alessandro.zanni87@xxxxxxxxx>
Reviewed-by: Petr Machata <petrm@xxxxxxxxxx>
Insert a yo-dawg meme about testing the tests here.