summaryrefslogtreecommitdiff
path: root/tools/testing
diff options
context:
space:
mode:
authorDaniel Latypov <dlatypov@google.com>2022-05-16 09:54:46 -0700
committerShuah Khan <skhan@linuxfoundation.org>2022-07-07 17:42:53 -0600
commitd2fbdde838f270377de4fc20e919aac3941ea55f (patch)
tree08946cb6a013c300f1ba0ef5aeae7aba5feaede5 /tools/testing
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 <lkp@intel.com> Signed-off-by: Daniel Latypov <dlatypov@google.com> Reviewed-by: David Gow <davidgow@google.com> Reviewed-by: Brendan Higgins <brendanhiggins@google.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools/testing')
0 files changed, 0 insertions, 0 deletions