aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorDavid Gow <[email protected]>2023-05-25 12:21:30 +0800
committerShuah Khan <[email protected]>2023-05-25 08:53:07 -0600
commit57e3cded99e9c840bc5310878d0a7f4e7768a296 (patch)
treeb6ebb8c7d1f421a849499664268b44f9e4732533 /lib/mpi/mpi-sub-ui.c
parent00e63f8afcfc6bf93d75141c51d35e8a40e86363 (diff)
kunit: kmalloc_array: Use kunit_add_action()
The kunit_add_action() function is much simpler and cleaner to use that the full KUnit resource API for simple things like the kunit_kmalloc_array() functionality. Replacing it allows us to get rid of a number of helper functions, and leaves us with no uses of kunit_alloc_resource(), which has some usability problems and is going to have its behaviour modified in an upcoming patch. Note that we need to use kunit_defer_trigger_all() to implement kunit_kfree(). Reviewed-by: Benjamin Berg <[email protected]> Reviewed-by: Maxime Ripard <[email protected]> Tested-by: Maxime Ripard <[email protected]> Signed-off-by: David Gow <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions