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

Commit 0b51541f authored by Maria Yu's avatar Maria Yu
Browse files

msm: kgsl: Printk format fix for 32bit build error



Correct the printk format to solve the 32bit
build error.

Change-Id: I3b95ff104e491beb01c909e34239153202a908c9
Signed-off-by: default avatarMaria Yu <aiquny@codeaurora.org>
parent e7325167
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -182,8 +182,8 @@ static int alloc_and_map(struct gmu_device *gmu, unsigned int ctx_id,

	if (ret) {
		dev_err(&gmu->pdev->dev,
				"gmu map err: gaddr=0x%016llX, paddr=0x%016llX\n",
				md->gmuaddr, md->physaddr);
				"gmu map err: gaddr=0x%016llX, paddr=0x%pa\n",
				md->gmuaddr, &(md->physaddr));
		free_gmu_mem(gmu, md);
	}

+1 −1
Original line number Diff line number Diff line
@@ -145,7 +145,7 @@ long kgsl_ioctl_helper(struct file *filep, unsigned int cmd, unsigned long arg,

	if (_IOC_SIZE(cmds[nr].cmd) > sizeof(data)) {
		if (__ratelimit(&_rs))
			WARN(1, "data too big for ioctl 0x%08X: %d/%ld\n",
			WARN(1, "data too big for ioctl 0x%08X: %d/%zu\n",
				cmd, _IOC_SIZE(cmds[nr].cmd), sizeof(data));
		return -EINVAL;
	}