Skip to content

Commit 91dc521

Browse files
lag-linaromripard
authored andcommitted
drm/tests/drm_kunit_helpers: Place correct function name in the comment header
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/tests/drm_kunit_helpers.c:172: warning: expecting prototype for drm_kunit_helper_context_alloc(). Prototype was for drm_kunit_helper_acquire_ctx_alloc() instead Signed-off-by: Lee Jones <lee@kernel.org> Link: https://lore.kernel.org/r/20230824073710.2677348-10-lee@kernel.org Link: https://lore.kernel.org/r/20230824073710.2677348-14-lee@kernel.org [mripard: Squashed the two patches together] Signed-off-by: Maxime Ripard <mripard@kernel.org>
1 parent 443f9e0 commit 91dc521

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/tests/drm_kunit_helpers.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ static void action_drm_release_context(void *ptr)
156156
}
157157

158158
/**
159-
* drm_kunit_helper_context_alloc - Allocates an acquire context
159+
* drm_kunit_helper_acquire_ctx_alloc - Allocates an acquire context
160160
* @test: The test context object
161161
*
162162
* Allocates and initializes a modeset acquire context.

0 commit comments

Comments
 (0)