1. 07 Apr, 2022 2 commits
    • Randy Dunlap's avatar
      drm: sti: don't use kernel-doc markers · 25d4cb51
      Randy Dunlap authored
      Don't mark static functions as kernel-doc.
      
      Prevents multiple kernel-doc build warnings:
      
      drivers/gpu/drm/sti/sti_hdmi.c:187: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
       * HDMI interrupt handler threaded
      drivers/gpu/drm/sti/sti_hdmi.c:219: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
       * HDMI interrupt handler
      drivers/gpu/drm/sti/sti_hdmi.c:241: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
       * Set hdmi active area depending on the drm display mode selected
      drivers/gpu/drm/sti/sti_hdmi.c:262: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
       * Overall hdmi configuration
      drivers/gpu/drm/sti/sti_hdmi.c:340: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
       * Helper to concatenate infoframe in 32 bits word
      drivers/gpu/drm/sti/sti_hdmi.c:357: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
       * Helper to write info frame
      drivers/gpu/drm/sti/sti_hdmi.c:427: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
       * Prepare and configure the AVI infoframe
      drivers/gpu/drm/sti/sti_hdmi.c:470: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
       * Prepare and configure the AUDIO infoframe
      drivers/gpu/drm/sti/sti_hdmi.c:555: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
       * Software reset of the hdmi subsystem
      
      Fixes: 5402626c ("drm: sti: add HDMI driver")
      Signed-off-by: default avatarRandy Dunlap <rdunlap@infradead.org>
      Cc: Aditya Srivastava <yashsri421@gmail.com>
      Cc: Benjamin Gaignard <benjamin.gaignard@linaro.org>
      Cc: Alain Volmat <alain.volmat@foss.st.com>
      Cc: David Airlie <airlied@linux.ie>
      Cc: Daniel Vetter <daniel@ffwll.ch>
      Acked-by: default avatarAlain Volmat <alain.volmat@foss.st.com>
      Signed-off-by: default avatarPhilippe Cornu <philippe.cornu@foss.st.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20220326235132.25192-1-rdunlap@infradead.org
      25d4cb51
    • Xiaomeng Tong's avatar
      stm: ltdc: fix two incorrect NULL checks on list iterator · 2e6c86be
      Xiaomeng Tong authored
      The two bugs are here:
      	if (encoder) {
      	if (bridge && bridge->timings)
      
      The list iterator value 'encoder/bridge' will *always* be set and
      non-NULL by drm_for_each_encoder()/list_for_each_entry(), so it is
      incorrect to assume that the iterator value will be NULL if the
      list is empty or no element is found.
      
      To fix the bug, use a new variable '*_iter' as the list iterator,
      while use the old variable 'encoder/bridge' as a dedicated pointer
      to point to the found element.
      
      Cc: stable@vger.kernel.org
      Fixes: 99e36044 ("drm/stm: Fix bus_flags handling")
      Signed-off-by: default avatarXiaomeng Tong <xiam0nd.tong@gmail.com>
      Acked-by: default avatarRaphael Gallais-Pou <raphael.gallais-pou@foss.st.com>
      Signed-off-by: default avatarPhilippe Cornu <philippe.cornu@foss.st.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20220327055355.3808-1-xiam0nd.tong@gmail.com
      2e6c86be
  2. 06 Apr, 2022 14 commits
  3. 05 Apr, 2022 8 commits
  4. 04 Apr, 2022 8 commits
  5. 03 Apr, 2022 8 commits