Skip to content

drm: strict type checking for drm_device based logging helpers

Jani Nikula dri-devel intel-gfx linux-arm-kernel linux-rockchip lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 26 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5drm/mipi-dsi: stop passing non struct drm_device to drm_err() and friendsdrivers/gpu/drm/drm_mipi_dsi.c+6 -61 reply
2/5drm/rockchip: stop passing non struct drm_device to drm_err() and friendsdrivers/gpu/drm/rockchip/dw_hdmi-rockchip.c drivers/gpu/drm/rockchip/dw_hdmi_qp-rockchip.c+16 -168 replies
3/5drm/sched: stop passing non struct drm_device to drm_err() and friendsdrivers/gpu/drm/scheduler/sched_entity.c drivers/gpu/drm/scheduler/sched_main.c+12 -105 replies
4/5drm/print: Include drm_device.hinclude/drm/drm_print.h+1 -05 replies
5/5drm/print: require struct drm_device for drm_err() and friendsinclude/drm/drm_print.h+23 -186 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchJani NikulaSimona VetterPhilipp StannerLouis ChauvetLuca Ceresoli
1/5R-b
2/5R-b
3/5R-b A-b R-b
4/5R-b
5/5R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.

Read the v1 thread

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

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(-)
Signature · 1 line
2.39.5