[PATCH 0/5] Fix mediatek-drm coverity issues

Jason-JH.Lin jason-jh.lin at mediatek.com
Fri Apr 7 06:46:52 UTC 2023


Add this patch series to fix these mediatek-drm coverity issues.

Jason-JH.Lin (5):
  drm/mediatek: Remove freeing not dynamic allocated memory
  drm/mediatek: Add cnt checking for coverity issue
  drm/mediatek: Add initialization for mtk_gem_obj
  drm/mediatek: Add casting before assign
  drm/mediatek: Fix dereference before null check

 drivers/gpu/drm/mediatek/mtk_drm_crtc.c  |  1 -
 drivers/gpu/drm/mediatek/mtk_drm_drv.c   |  4 ++--
 drivers/gpu/drm/mediatek/mtk_drm_gem.c   |  4 ++--
 drivers/gpu/drm/mediatek/mtk_drm_plane.c | 29 +++++++++++-------------
 4 files changed, 17 insertions(+), 21 deletions(-)

-- 
2.18.0



More information about the dri-devel mailing list