On Mon, May 16, 2022 at 12:54 PM Daniel Latypov dlatypov@google.com wrote:
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: Brendan Higgins brendanhiggins@google.com