From 41ffa1f4f93568ca32d22d36d73cc3647f8bcdd2 Mon Sep 17 00:00:00 2001 From: Depeng Shao Date: Mon, 13 Jul 2020 21:57:26 +0800 Subject: [PATCH] msm: camera: cdm: Fix out of bounds issue The dt match table needs end up with null. CRs-Fixed: 2730795 Change-Id: I75bdf20d74d9a83d9a0de28a2ad4d95412a51f0c Signed-off-by: Depeng Shao --- drivers/cam_cdm/cam_cdm_hw_core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/cam_cdm/cam_cdm_hw_core.c b/drivers/cam_cdm/cam_cdm_hw_core.c index d4e4c50a5b..fd903f3364 100644 --- a/drivers/cam_cdm/cam_cdm_hw_core.c +++ b/drivers/cam_cdm/cam_cdm_hw_core.c @@ -73,6 +73,7 @@ static const struct of_device_id msm_cam_hw_cdm_dt_match[] = { .compatible = CAM_HW_CDM_IFE_NAME_2_1, .data = &cam_cdm_2_1_reg_offset, }, + {} }; static enum cam_cdm_id cam_hw_cdm_get_id_by_name(char *name)