[PATCH 0/8] drm: fix and enable warnings on unused static inlines

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Follow-up to [1].

Annotate unused static inlines with __maybe_unused. In some cases it
might be better to remove them, but it's really up to the maintainers
what to do. Then enable the warning on default across subsystem.

BR,
Jani.

[1] https://lore.kernel.org/r/20240904123819.3784906-1-jani.nikula@xxxxxxxxx


Jani Nikula (8):
  drm/bridge: dw-hdmi-i2s: annotate hdmi_read() with __maybe_unused
  drm: renesas: rcar-du: annotate rcar_cmm_read() with __maybe_unused
  drm/kmb: annotate set_test_mode_src_osc_freq_target_{low,hi}_bits()
    with __maybe_unused
  drm/bridge: ti-sn65dsi86: annotate ti_sn_pwm_pin_{request,release}
    with __maybe_unused
  drm/imagination: annotate pvr_fw_version_packed() with __maybe_unused
  drm/meson: dw-hdmi: annotate dw_hdmi_dwc_write_bits() with
    __maybe_unused
  drm/msmi: annotate pll_cmp_to_fdata() with __maybe_unused
  drm: enable warnings on unused static inlines

 drivers/gpu/drm/Makefile                            | 3 +++
 drivers/gpu/drm/bridge/synopsys/dw-hdmi-i2s-audio.c | 2 +-
 drivers/gpu/drm/bridge/ti-sn65dsi86.c               | 4 ++--
 drivers/gpu/drm/imagination/pvr_drv.c               | 2 +-
 drivers/gpu/drm/kmb/kmb_dsi.c                       | 4 ++--
 drivers/gpu/drm/meson/meson_dw_hdmi.c               | 8 ++++----
 drivers/gpu/drm/msm/hdmi/hdmi_phy_8998.c            | 2 +-
 drivers/gpu/drm/renesas/rcar-du/rcar_cmm.c          | 2 +-
 8 files changed, 15 insertions(+), 12 deletions(-)

-- 
2.39.2




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux