projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
443f9e0
)
drm/tests/drm_kunit_helpers: Place correct function name in the comment header
author
Lee Jones
<lee@kernel.org>
Thu, 24 Aug 2023 07:36:54 +0000
(08:36 +0100)
committer
Maxime Ripard
<mripard@kernel.org>
Thu, 24 Aug 2023 08:52:59 +0000
(10:52 +0200)
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>
drivers/gpu/drm/tests/drm_kunit_helpers.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/tests/drm_kunit_helpers.c
b/drivers/gpu/drm/tests/drm_kunit_helpers.c
index 3d624ff2f6517ae477fb9812cd93c6be0c4ce4e4..c1dfbfcaa0001f405a84725f53e2739b1ccc80d3 100644
(file)
--- a/
drivers/gpu/drm/tests/drm_kunit_helpers.c
+++ b/
drivers/gpu/drm/tests/drm_kunit_helpers.c
@@
-156,7
+156,7
@@
static void action_drm_release_context(void *ptr)
}
/**
- * drm_kunit_helper_
context
_alloc - Allocates an acquire context
+ * drm_kunit_helper_
acquire_ctx
_alloc - Allocates an acquire context
* @test: The test context object
*
* Allocates and initializes a modeset acquire context.