Skip to content
Commit 99be6588 authored by Stephen Boyd's avatar Stephen Boyd Committed by Shuah Khan
Browse files

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: default avatarStephen Boyd <sboyd@kernel.org>
Reviewed-by: default avatarDavid Gow <davidgow@google.com>
Signed-off-by: default avatarShuah Khan <skhan@linuxfoundation.org>
parent 1da2e622
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment