diff options
| author | Naveen Anandhan <mr.navi8680@gmail.com> | 2026-02-28 10:47:35 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2026-03-04 08:42:57 +0300 |
| commit | fbdfa8da05b6ae44114fc4f9b3e83e1736fd411c (patch) | |
| tree | 7ce1bfa267b80c182f0b713ca4f8de8aa4595019 /include/linux | |
| parent | 46d0d6f50dab706637f4c18a470aac20a21900d3 (diff) | |
| download | linux-fbdfa8da05b6ae44114fc4f9b3e83e1736fd411c.tar.xz | |
selftests: tc-testing: fix list_categories() crash on list type
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.
Signed-off-by: Naveen Anandhan <mr.navi8680@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
