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

Commit dafe1ee2 authored by Steve Cohen's avatar Steve Cohen
Browse files

drm/msm: set proper printf format specifiers



Fix the printf format specifiers for some variables that have
changed storage class, or were removed so that when the compiler
warning levels are raised there won't be any failures.

Change-Id: I71451baf72017b69db20ca38c58fab8d36a40951
Signed-off-by: default avatarSteve Cohen <cohens@codeaurora.org>
parent e7be1c72
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -113,7 +113,7 @@ struct drm_gem_object *msm_gem_prime_import(struct drm_device *dev,
	attach_dev = dev->dev;
	attach = dma_buf_attach(dma_buf, attach_dev);
	if (IS_ERR(attach)) {
		DRM_ERROR("dma_buf_attach failure, err=%d\n", PTR_ERR(attach));
		DRM_ERROR("dma_buf_attach failure, err=%ld\n", PTR_ERR(attach));
		return ERR_CAST(attach);
	}

+2 −2
Original line number Diff line number Diff line
@@ -238,7 +238,7 @@ static int msm_smmu_map_dma_buf(struct msm_mmu *mmu, struct sg_table *sgt,
	}

	if (sgt && sgt->sgl) {
		DRM_DEBUG("%pad/0x%x/0x%x/0x%x/0x%lx\n",
		DRM_DEBUG("%pad/0x%x/0x%x/0x%lx\n",
				&sgt->sgl->dma_address, sgt->sgl->dma_length,
				dir, attrs);
		SDE_EVT32(sgt->sgl->dma_address, sgt->sgl->dma_length,
@@ -261,7 +261,7 @@ static void msm_smmu_unmap_dma_buf(struct msm_mmu *mmu, struct sg_table *sgt,
	}

	if (sgt->sgl) {
		DRM_DEBUG("%pad/0x%x/0x%x/0x%x\n",
		DRM_DEBUG("%pad/0x%x/0x%x\n",
				&sgt->sgl->dma_address, sgt->sgl->dma_length,
				dir);
		SDE_EVT32(sgt->sgl->dma_address, sgt->sgl->dma_length,