Loading drivers/media/platform/msm/camera_v2/common/cam_smmu_api.c +1 −1 Original line number Diff line number Diff line Loading @@ -827,7 +827,7 @@ static int cam_smmu_map_buffer_and_add_to_list(int idx, int ion_fd, *paddr_ptr = sg_dma_address(table->sgl); *len_ptr = (size_t)sg_dma_len(table->sgl); if (!paddr_ptr) { if (!*paddr_ptr || !*len_ptr) { pr_err("Error: Space Allocation failed!\n"); rc = -ENOSPC; goto err_unmap_sg; Loading Loading
drivers/media/platform/msm/camera_v2/common/cam_smmu_api.c +1 −1 Original line number Diff line number Diff line Loading @@ -827,7 +827,7 @@ static int cam_smmu_map_buffer_and_add_to_list(int idx, int ion_fd, *paddr_ptr = sg_dma_address(table->sgl); *len_ptr = (size_t)sg_dma_len(table->sgl); if (!paddr_ptr) { if (!*paddr_ptr || !*len_ptr) { pr_err("Error: Space Allocation failed!\n"); rc = -ENOSPC; goto err_unmap_sg; Loading