diff options
author | Daniel Latypov <dlatypov@google.com> | 2022-05-16 09:54:46 -0700 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2022-07-07 17:42:53 -0600 |
commit | d2fbdde838f270377de4fc20e919aac3941ea55f (patch) | |
tree | 08946cb6a013c300f1ba0ef5aeae7aba5feaede5 /lib/fdt_wip.c | |
parent | 671007281de93c721c1ea2d4af603d211b0a7e1f (diff) | |
download | linux-stable-d2fbdde838f270377de4fc20e919aac3941ea55f.tar.gz |
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 'lib/fdt_wip.c')
0 files changed, 0 insertions, 0 deletions