Skip to contentSkip to conversation

drm: Fix typo in drm_event_reserve_init() kerneldoc

PATCH Applied Thierry Reding 2 participants 2 messages Dec 15, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm: Fix typo in drm_event_reserve_init() kerneldoc

From: Thierry Reding <[email protected]>

drm_event_reserve_init_locked() is the correct function to call when already holding the dev->event_lock lock.

---
 drivers/gpu/drm/drm_fops.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/drm_fops.c +1 -1
index 5d96de40b63f..48e106557c92 100644
@@ -622,7 +622,7 @@ EXPORT_SYMBOL(drm_event_reserve_init_locked);
  * kmalloc and @p must be the first member element.
  *
  * Callers which already hold dev->event_lock should use
- * drm_event_reserve_init() instead.
+ * drm_event_reserve_init_locked() instead.
  *
  * RETURNS:
  *
Signature · 6 lines
2.10.2

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#1 lore raw
Quoted 6 lines · Thierry Reding

From: Thierry Reding <[email protected]>

drm_event_reserve_init_locked() is the correct function to call when already holding the dev->event_lock lock.

Pushed to drm-misc-next, thanks.
-Daniel

Quoted 24 lines
---
 drivers/gpu/drm/drm_fops.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/drm_fops.c +1 -1
index 5d96de40b63f..48e106557c92 100644
@@ -622,7 +622,7 @@ EXPORT_SYMBOL(drm_event_reserve_init_locked);
  * kmalloc and @p must be the first member element.
  *
  * Callers which already hold dev->event_lock should use
- * drm_event_reserve_init() instead.
+ * drm_event_reserve_init_locked() instead.
  *
  * RETURNS:
  *
Signature · 6 lines
2.10.2

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Signature · 7 lines
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel