aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/kunit/kunit_kernel.py
diff options
context:
space:
mode:
authorDaniel Latypov <[email protected]>2022-05-16 09:54:46 -0700
committerShuah Khan <[email protected]>2022-07-07 17:42:53 -0600
commitd2fbdde838f270377de4fc20e919aac3941ea55f (patch)
tree08946cb6a013c300f1ba0ef5aeae7aba5feaede5 /tools/testing/kunit/kunit_kernel.py
parent671007281de93c721c1ea2d4af603d211b0a7e1f (diff)
kunit: use kmemdup in kunit_filter_tests(), take suite as const
kmemdup() is easier than kmalloc() + memcpy(), per lkp bot. Also make the input `suite` as const since we're now always making copies after commit a127b154a8f2 ("kunit: tool: allow filtering test cases via glob"). Reported-by: kernel test robot <[email protected]> Signed-off-by: Daniel Latypov <[email protected]> Reviewed-by: David Gow <[email protected]> Reviewed-by: Brendan Higgins <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
Diffstat (limited to 'tools/testing/kunit/kunit_kernel.py')
0 files changed, 0 insertions, 0 deletions