diff options
| author | Naveen Anandhan <mr.navi8680@gmail.com> | 2026-02-28 13:17:35 +0530 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2026-03-04 05:42:57 +0000 |
| commit | fbdfa8da05b6ae44114fc4f9b3e83e1736fd411c (patch) | |
| tree | 7ce1bfa267b80c182f0b713ca4f8de8aa4595019 /include/linux/i2c/git@git.tavy.me:linux.git | |
| parent | 46d0d6f50dab706637f4c18a470aac20a21900d3 (diff) | |
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/i2c/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
