[PATCH] drm: Fix modifiers_property kernel-doc comment

Hans de Goede j.w.r.degoede at gmail.com
Sat Nov 25 19:27:31 UTC 2017


This fixes the following make kerneldocs messages:

./include/drm/drm_mode_config.h:772: warning: No description found for parameter 'modifiers_property'
./include/drm/drm_mode_config.h:772: warning: Excess struct member 'modifiers' description in 'drm_mode_config'

Signed-off-by: Hans de Goede <hdegoede at redhat.com>
---
 include/drm/drm_mode_config.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/drm/drm_mode_config.h b/include/drm/drm_mode_config.h
index 3716e6b8fed5..cb9ffbda36cc 100644
--- a/include/drm/drm_mode_config.h
+++ b/include/drm/drm_mode_config.h
@@ -759,7 +759,7 @@ struct drm_mode_config {
 	bool allow_fb_modifiers;
 
 	/**
-	 * @modifiers: Plane property to list support modifier/format
+	 * @modifiers_property: Plane property to list support modifier/format
 	 * combination.
 	 */
 	struct drm_property *modifiers_property;
-- 
2.14.3



More information about the dri-devel mailing list