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: Maria Yu <aiquny@codeaurora.org>
This commit is contained in:
Maria Yu 2017-09-26 15:43:31 +08:00
commit 0b51541f84
2 changed files with 3 additions and 3 deletions

View file

@ -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);
}

View file

@ -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;
}