[PATCH] drm: use correct dev node location in comment

Emil Velikov emil.l.velikov at gmail.com
Mon Jul 22 16:56:48 UTC 2019


From: Emil Velikov <emil.velikov at collabora.com>

Current comment mentions /dev/drm which hasn't been a thing even before
the code was merged into the kernel ;-)

Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---
 drivers/gpu/drm/drm_file.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/drm_file.c b/drivers/gpu/drm/drm_file.c
index ea34bc991858..5274b40eb5e3 100644
--- a/drivers/gpu/drm/drm_file.c
+++ b/drivers/gpu/drm/drm_file.c
@@ -285,7 +285,7 @@ static int drm_cpu_valid(void)
 }
 
 /*
- * Called whenever a process opens /dev/drm.
+ * Called whenever a process opens /dev/dri/[number]
  *
  * \param filp file pointer.
  * \param minor acquired minor-object.
-- 
2.21.0



More information about the dri-devel mailing list