Skip to content

fix handling of incorrect arguments by mipi_dsi_msleep

Tejas Vipin dri-devel lkml 1 version Applied

Status from this message: Thanks, Applied to https://gitlab.freedesktop.org/drm/misc/kernel.git (drm-misc-next)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 6 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2drm/panel : himax-hx83102: fix incorrect argument to mipi_dsi_msleepdrivers/gpu/drm/panel/panel-himax-hx83102.c+3 -31 reply
2/2drm/mipi-dsi: fix handling of ctx in mipi_dsi_msleepinclude/drm/drm_mipi_dsi.h+1 -14 replies

Reviews trailers per patch

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

PatchDouglas Anderson
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] fix handling of incorrect arguments by mipi_dsi_msleep

mipi_dsi_msleep is currently defined such that it treats ctx as an argument passed by value. In the case of ctx being passed by reference, it doesn't raise an error, but instead evaluates the resulting expression in an undesired manner. Since the majority of the usage of this function passes ctx by reference (similar to other functions), mipi_dsi_msleep can be modified to treat ctx as a pointer and do it correctly, and the other calls to this macro can be adjusted accordingly.

Tejas Vipin (2):
drm/panel : himax-hx83102: fix incorrect argument to mipi_dsi_msleep drm/mipi-dsi: fix handling of ctx in mipi_dsi_msleep

 drivers/gpu/drm/panel/panel-himax-hx83102.c | 6 +++---
 include/drm/drm_mipi_dsi.h                  | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)
Signature · 1 line
2.45.2