[PATCH] drm: use correct name in comment
Kenjiro Nakayama
nakayamakenjiro at gmail.com
Tue Oct 24 11:06:20 UTC 2023
As drm_vma_node_is_allowed() searches @tag in the list,
this patch corrects the comment.
Signed-off-by: Kenjiro Nakayama <nakayamakenjiro at gmail.com>
---
drivers/gpu/drm/drm_vma_manager.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/drm_vma_manager.c b/drivers/gpu/drm/drm_vma_manager.c
index 83229a031af0..7b41b0f8c283 100644
--- a/drivers/gpu/drm/drm_vma_manager.c
+++ b/drivers/gpu/drm/drm_vma_manager.c
@@ -393,7 +393,7 @@ EXPORT_SYMBOL(drm_vma_node_revoke);
* This is locked against concurrent access internally.
*
* RETURNS:
- * true if @filp is on the list
+ * true if @tag is on the list
*/
bool drm_vma_node_is_allowed(struct drm_vma_offset_node *node,
struct drm_file *tag)
--
2.41.0
More information about the dri-devel
mailing list