Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f65b8947 authored by Suresh Vankadara's avatar Suresh Vankadara Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: camera: mem: print error value" into dev/msm-4.14-camx

parents 95ac8978 de0cfd86
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -804,7 +804,8 @@ int cam_mem_mgr_map(struct cam_mem_mgr_map_cmd *cmd)

	dmabuf = dma_buf_get(cmd->fd);
	if (IS_ERR_OR_NULL((void *)(dmabuf))) {
		CAM_ERR(CAM_MEM, "Failed to import dma_buf fd");
		CAM_ERR(CAM_MEM, "Failed to import dma_buf fd %d, rc %d",
			cmd->fd, (IS_ERR(dmabuf) ? PTR_ERR(dmabuf) : 0));
		return -EINVAL;
	}