diff mbox

drm: Fix modifiers_property kernel-doc comment

Message ID 20171125192731.4843-1-hdegoede@redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

Hans de Goede Nov. 25, 2017, 7:27 p.m. UTC
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@redhat.com>
---
 include/drm/drm_mode_config.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Daniel Vetter Nov. 28, 2017, 10:28 a.m. UTC | #1
On Sat, Nov 25, 2017 at 08:27:31PM +0100, Hans de Goede wrote:
> 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@redhat.com>

Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>

Pls push to drm-misc-next, thanks.
-Daniel

> ---
>  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
> 
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Hans de Goede Nov. 28, 2017, 2:21 p.m. UTC | #2
Hi,

On 28-11-17 11:28, Daniel Vetter wrote:
> On Sat, Nov 25, 2017 at 08:27:31PM +0100, Hans de Goede wrote:
>> 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@redhat.com>
> 
> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
>
> Pls push to drm-misc-next, thanks.

Ville Syrjälä has already fixed this, but I missed that because the
fix was not yet in dinq when I prepared my panel-orientation patch
series.

Regards,

Hans



> -Daniel
> 
>> ---
>>   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
>>
>> _______________________________________________
>> Intel-gfx mailing list
>> Intel-gfx@lists.freedesktop.org
>> https://lists.freedesktop.org/mailman/listinfo/intel-gfx
>
diff mbox

Patch

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;