drm/fb-helper: Document struct drm_fb_helper.hint_leak_smem_start
authorThomas Zimmermann <tzimmermann@suse.de>
Mon, 7 Nov 2022 12:53:29 +0000 (13:53 +0100)
committerThomas Zimmermann <tzimmermann@suse.de>
Tue, 8 Nov 2022 15:16:22 +0000 (16:16 +0100)
commit260cd59a54ef5ad62d54172e2faf19ad28615cec
tree2ff915048a37d8412d09fb2d772a58afb5f06bab
parentd5c7533a461bb568d5cee6842b0826879216d220
drm/fb-helper: Document struct drm_fb_helper.hint_leak_smem_start

Document the new field smem_start in struct drm_fb_helper and avoid
a compile-time warning. An error message is shown below and the bug
report is at [1].

  include/drm/drm_fb_helper.h:204: warning: Function parameter or member 'hint_leak_smem_start' not described in 'drm_fb_helper'

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Fixes: e7c5c29a9eb1 ("drm/fb-helper: Set flag in struct drm_fb_helper for leaking physical addresses")
Cc: Thomas Zimmermann <tzimmermann@suse.de>
Cc: Javier Martinez Canillas <javierm@redhat.com>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Maxime Ripard <mripard@kernel.org>
Cc: David Airlie <airlied@gmail.com>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: dri-devel@lists.freedesktop.org
Link: https://lore.kernel.org/dri-devel/20221107143858.0253a8ff@canb.auug.org.au/T/#u
Link: https://patchwork.freedesktop.org/patch/msgid/20221107125329.12842-4-tzimmermann@suse.de
include/drm/drm_fb_helper.h