mbox series

[0/5] drm: strict type checking for drm_device based logging helpers

Message ID cover.1737644530.git.jani.nikula@intel.com (mailing list archive)
Headers show
Series drm: strict type checking for drm_device based logging helpers | expand

Message

Jani Nikula Jan. 23, 2025, 3:09 p.m. UTC
Fix all cases that pass something other than struct drm_device to the
drm_device based logging helpers, and add strict type checking.

Gustavo Sousa (1):
  drm/print: Include drm_device.h

Jani Nikula (4):
  drm/mipi-dsi: stop passing non struct drm_device to drm_err() and
    friends
  drm/rockchip: stop passing non struct drm_device to drm_err() and
    friends
  drm/sched: stop passing non struct drm_device to drm_err() and friends
  drm/print: require struct drm_device for drm_err() and friends

 drivers/gpu/drm/drm_mipi_dsi.c                | 12 +++---
 drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c   | 16 +++----
 .../gpu/drm/rockchip/dw_hdmi_qp-rockchip.c    | 16 +++----
 drivers/gpu/drm/scheduler/sched_entity.c      |  2 +-
 drivers/gpu/drm/scheduler/sched_main.c        | 20 +++++----
 include/drm/drm_print.h                       | 42 +++++++++++--------
 6 files changed, 58 insertions(+), 50 deletions(-)