[PATCH] uapi/drm: correct drm_mode_list_lessees::lessees_ptr docs

Emil Velikov emil.l.velikov at gmail.com
Wed Apr 11 13:41:49 UTC 2018


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

Since day 1, lesser_ids have been u32.

Every instance in the UAPI (minus the one corrected) and the
implementation agree on the topic.

Fixes: 62884cd386b8 ("drm: Add four ioctls for managing drm mode objectleases [v7]")
Cc: Keith Packard <keithp at keithp.com>
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---
 include/uapi/drm/drm_mode.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/uapi/drm/drm_mode.h b/include/uapi/drm/drm_mode.h
index 50bcf4214ff9..65c5b02738c8 100644
--- a/include/uapi/drm/drm_mode.h
+++ b/include/uapi/drm/drm_mode.h
@@ -839,7 +839,7 @@ struct drm_mode_list_lessees {
 	__u32 pad;
 
 	/** Pointer to lessees.
-	 * pointer to __u64 array of lessee ids
+	 * pointer to __u32 array of lessee ids
 	 */
 	__u64 lessees_ptr;
 };
-- 
2.16.0



More information about the dri-devel mailing list