Commit 39920de5 authored by David Gow's avatar David Gow Committed by Zheng Zengkai
Browse files

kunit: tool: Fix a python tuple typing error



stable inclusion
from stable-5.10.29
commit 4ca265610cc6d1eee7d4aa8690a4ae6072bd5825
bugzilla: 51789

--------------------------------

[ Upstream commit 7421b1a4 ]

The first argument to namedtuple() should match the name of the type,
which wasn't the case for KconfigEntryBase.

Fixing this is enough to make mypy show no python typing errors again.

Fixes 97752c39 ("kunit: kunit_tool: Allow .kunitconfig to disable config items")
Signed-off-by: default avatarDavid Gow <davidgow@google.com>
Reviewed-by: default avatarDaniel Latypov <dlatypov@google.com>
Acked-by: default avatarBrendan Higgins <brendanhiggins@google.com>
Signed-off-by: default avatarShuah Khan <skhan@linuxfoundation.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>

Signed-off-by: default avatarChen Jun <chenjun102@huawei.com>
Acked-by: default avatar  Weilong Chen <chenweilong@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent 8b1dd49a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment