kunit: Use gfp in kunit_alloc_resource() kernel-doc
authorStephen Boyd <sboyd@kernel.org>
Wed, 15 Mar 2023 23:39:25 +0000 (16:39 -0700)
committerShuah Khan <skhan@linuxfoundation.org>
Fri, 17 Mar 2023 18:28:40 +0000 (12:28 -0600)
commit99be6588118bedc522fa989146f35efceff07c1e
tree2f4329e1f8414cc83c78f4a564c12811dafac1c5
parent1da2e6220e1115930694c649605534baf6fa3dea
kunit: Use gfp in kunit_alloc_resource() kernel-doc

Copy/pasting the code from the kernel-doc here doesn't compile because
kunit_alloc_resource() takes a gfp flags argument. Pass the gfp
argument from the caller to complete the example.

Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Reviewed-by: David Gow <davidgow@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
include/kunit/resource.h