]> git.baikalelectronics.ru Git - kernel.git/commit
drm/edid: Fix drm_edid_encode_panel_id() kerneldoc warning
authorDouglas Anderson <dianders@chromium.org>
Mon, 27 Sep 2021 14:41:22 +0000 (07:41 -0700)
committerDouglas Anderson <dianders@chromium.org>
Tue, 28 Sep 2021 00:14:47 +0000 (17:14 -0700)
commitc627532359f4aba2007fcefe490b742180018ed4
treeb46a608c3212e2307d118dc4304928849bc28d82
parentdfaee84fc6400a5924e5af5a8d45cdf5dada0167
drm/edid: Fix drm_edid_encode_panel_id() kerneldoc warning

Due to a simple typo (apparently I can't count. It goes 0, 1, 2 and
not 0, 2, 3) we were getting a kernel doc warning that looked like
this:

include/drm/drm_edid.h:530: warning:
  Function parameter or member 'vend_chr_1' not described in 'drm_edid_encode_panel_id'
include/drm/drm_edid.h:530: warning:
  Excess function parameter 'vend_chr_3' description in 'drm_edid_encode_panel_id'

Fix it.

Fixes: 7a26441666e2 ("drm/edid: Fix EDID quirk compile error on older compilers")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20210927074104.1.Ibf22f2a0b75287a5d636c0570c11498648bf61c6@changeid
include/drm/drm_edid.h