OpenCloudOS-Kernel/drivers/gpu/drm/mediatek
Miles Chen 4744cde06f drm/mediatek: Use NULL instead of 0 for NULL pointer
Use NULL for NULL pointer to fix the following sparse warning:
drivers/gpu/drm/mediatek/mtk_drm_gem.c:265:27: sparse: warning: Using plain integer as NULL pointer

Fixes: 3df64d7b0a ("drm/mediatek: Implement gem prime vmap/vunmap function")
Signed-off-by: Miles Chen <miles.chen@mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://patchwork.kernel.org/project/linux-mediatek/patch/20230111024443.24559-1-miles.chen@mediatek.com/
Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
2023-01-27 00:39:15 +00:00
..
Kconfig drm/mediatek: Add MT8195 Embedded DisplayPort driver 2022-09-04 15:32:05 +03:00
Makefile drm/mediatek: Add MT8195 Embedded DisplayPort driver 2022-09-04 15:32:05 +03:00
mtk_cec.c drm/mediatek: Fix mtk_cec_mask() 2022-04-06 22:34:28 +08:00
mtk_cec.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00
mtk_disp_aal.c drm/mediatek: Add lut diff flag for new gamma hardware support 2022-04-29 06:14:49 +08:00
mtk_disp_ccorr.c drm/mediatek: Add support for Mediatek SoC MT8192 2021-11-16 07:29:48 +08:00
mtk_disp_color.c drm/mediatek: Add component_del in OVL and COLOR remove function 2021-08-12 07:00:50 +08:00
mtk_disp_drv.h drm/mediatek: Add display merge start/stop API for cmdq support 2022-06-27 22:32:28 +08:00
mtk_disp_gamma.c drm/mediatek: Add lut diff flag for new gamma hardware support 2022-04-29 06:14:49 +08:00
mtk_disp_merge.c drm/mediatek: Add display merge async reset control 2022-06-27 22:39:37 +08:00
mtk_disp_ovl.c drm/mediatek: Add MT8195 ovl driver support 2022-11-23 16:18:42 +00:00
mtk_disp_rdma.c Mediatek DRM Next for Linux 5.20 2022-07-12 17:01:42 +10:00
mtk_dp.c drm/mediatek: dp: change mtk_dp_driver to static 2022-09-19 12:33:54 +03:00
mtk_dp_reg.h drm/mediatek: dp: Remove unused register definitions 2022-09-19 12:17:42 +03:00
mtk_dpi.c drm/mediatek: Add mt8186 dpi compatibles and platform data 2022-12-26 23:19:28 +00:00
mtk_dpi_regs.h drm/mediatek: dpi: Add dp_intf support 2022-07-06 22:51:44 +08:00
mtk_drm_crtc.c drm: Remove unnecessary include statements of drm_plane_helper.h 2022-07-26 18:42:04 +02:00
mtk_drm_crtc.h drm-misc-next for 5.13: 2021-03-16 17:08:46 +10:00
mtk_drm_ddp_comp.c drm/mediatek: Fix wrong dither settings 2022-09-13 07:10:08 +08:00
mtk_drm_ddp_comp.h drm/mediatek: dpi: Add dp_intf support 2022-07-06 22:51:44 +08:00
mtk_drm_drv.c drm/mediatek: Add mt8186 dpi compatibles and platform data 2022-12-26 23:19:28 +00:00
mtk_drm_drv.h drm/mediatek: Add display MDP RDMA support for MT8195 2022-06-27 22:24:14 +08:00
mtk_drm_gem.c drm/mediatek: Use NULL instead of 0 for NULL pointer 2023-01-27 00:39:15 +00:00
mtk_drm_gem.h dma-buf-map: Rename to iosys-map 2022-02-07 16:35:35 -08:00
mtk_drm_plane.c drm/mediatek: Add AFBC support to Mediatek DRM driver 2022-11-23 16:18:30 +00:00
mtk_drm_plane.h drm/mediatek: Add AFBC support to Mediatek DRM driver 2022-11-23 16:18:30 +00:00
mtk_dsi.c drm/mediatek: dsi: Reduce the time of dsi from LP11 to sending cmd 2023-01-27 00:01:33 +00:00
mtk_hdmi.c Mediatek DRM Next for Linux 6.2 2022-11-24 12:49:36 +10:00
mtk_hdmi.h drm/mediatek: Separate mtk_hdmi_phy to an independent module 2020-09-06 07:02:54 +08:00
mtk_hdmi_ddc.c drm/mediatek: Add missing MODULE_DEVICE_TABLE() 2021-03-31 19:38:06 +08:00
mtk_hdmi_regs.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00
mtk_mdp_rdma.c drm/mediatek: Add display MDP RDMA support for MT8195 2022-06-27 22:24:14 +08:00
mtk_mdp_rdma.h drm/mediatek: Add display MDP RDMA support for MT8195 2022-06-27 22:24:14 +08:00