]> git.baikalelectronics.ru Git - kernel.git/commit
drm: fix doc warnings in drm_atomic.h
authorYu Kuai <yukuai3@huawei.com>
Thu, 3 Jun 2021 11:30:51 +0000 (19:30 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 4 Jun 2021 16:40:01 +0000 (12:40 -0400)
commitc45d9400a08a4c8e84a3a35adc7533d877e42ffe
treea3192c1f70bb741a62db4eb12b0df559f351ff70
parentc385d41604eeeab738281792e65238ee41528f5e
drm: fix doc warnings in drm_atomic.h

Add description for parameters for
for_each_new_plane_in_state_reverse to fix warnings:

include/drm/drm_atomic.h:908: warning: Function parameter or member '__state' not described in 'for_each_new_plane_in_state_reverse'
include/drm/drm_atomic.h:908: warning: Function parameter or member 'plane' not described in 'for_each_new_plane_in_state_reverse'
include/drm/drm_atomic.h:908: warning: Function parameter or member 'new_plane_state' not described in 'for_each_new_plane_in_state_reverse'
include/drm/drm_atomic.h:908: warning: Function parameter or member '__i' not described in 'for_each_new_plane_in_state_reverse'

Fixes: a6c3c37b661d ("drm/amd/display: fix gcc set but not used warning of variable 'old_plane_state'")
Signed-off-by: Yu Kuai <yukuai3@huawei.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
include/drm/drm_atomic.h