From: Petr Machata <petrm@nvidia.com>
To: Alessandro Zanni <alessandro.zanni87@gmail.com>
Cc: <davem@davemloft.net>, <edumazet@google.com>, <kuba@kernel.org>,
<pabeni@redhat.com>, <shuah@kernel.org>, <petrm@nvidia.com>,
<dw@davidwei.uk>, <martin.lau@kernel.org>,
<netdev@vger.kernel.org>, <linux-kselftest@vger.kernel.org>,
<linux-kernel@vger.kernel.org>, <skhan@linuxfoundation.org>,
<anupnewsmail@gmail.com>
Subject: Re: [PATCH] selftests: drivers: net: fix name not defined
Date: Thu, 10 Oct 2024 09:40:01 +0200 [thread overview]
Message-ID: <87zfncier5.fsf@nvidia.com> (raw)
In-Reply-To: <20241008220137.274660-1-alessandro.zanni87@gmail.com>
Alessandro Zanni <alessandro.zanni87@gmail.com> 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@gmail.com>
Reviewed-by: Petr Machata <petrm@nvidia.com>
Insert a yo-dawg meme about testing the tests here.
prev parent reply other threads:[~2024-10-10 7:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-08 22:01 [PATCH] selftests: drivers: net: fix name not defined Alessandro Zanni
2024-10-10 2:32 ` Jakub Kicinski
2024-10-10 17:11 ` Alessandro Zanni
2024-10-10 7:40 ` Petr Machata [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87zfncier5.fsf@nvidia.com \
--to=petrm@nvidia.com \
--cc=alessandro.zanni87@gmail.com \
--cc=anupnewsmail@gmail.com \
--cc=davem@davemloft.net \
--cc=dw@davidwei.uk \
--cc=edumazet@google.com \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-kselftest@vger.kernel.org \
--cc=martin.lau@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=shuah@kernel.org \
--cc=skhan@linuxfoundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).