From: Jakub Kicinski <kuba@kernel.org>
To: mr.navi8680@gmail.com
Cc: netdev@vger.kernel.org, linux-kselftest@vger.kernel.org,
jhs@mojatatu.com, jiri@resnulli.us, shuah@kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] selftests: tc-testing: fix list_categories() crash on list type
Date: Tue, 3 Mar 2026 18:17:00 -0800 [thread overview]
Message-ID: <20260303181700.25878b2a@kernel.org> (raw)
In-Reply-To: <20260228074735.10438-1-mr.navi8680@gmail.com>
On Sat, 28 Feb 2026 13:17:35 +0530 mr.navi8680@gmail.com wrote:
> list_categories() builds a set directly from the 'category'
> field of each test case. Since 'category' is a list,
> set(map(...)) attempts to insert lists into a set, which
> raises:
>
> TypeError: unhashable type: 'list'
>
> Flatten category lists and collect unique category names
> using set.update() instead.
How did you find this issue?
I can't figure out what's calling this function in the first place.
--
pw-bot: cr
next prev parent reply other threads:[~2026-03-04 2:17 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-28 7:47 [PATCH] selftests: tc-testing: fix list_categories() crash on list type mr.navi8680
2026-03-04 2:17 ` Jakub Kicinski [this message]
2026-03-04 2:34 ` Naveen A
2026-03-04 2:49 ` Jakub Kicinski
2026-03-04 4:16 ` Naveen A
2026-03-04 5:50 ` patchwork-bot+netdevbpf
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=20260303181700.25878b2a@kernel.org \
--to=kuba@kernel.org \
--cc=jhs@mojatatu.com \
--cc=jiri@resnulli.us \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-kselftest@vger.kernel.org \
--cc=mr.navi8680@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=shuah@kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.