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

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

msm: kgsl: Use %zu for sizeof type



Need to use %zu for sizeof type to fix the arm 32bit
compile error.

Change-Id: I8f46c1739e736a4961224db5d9b760f9c3402b72
Signed-off-by: default avatarMaria Yu <aiquny@codeaurora.org>
parent ceafc606
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -143,7 +143,7 @@ long adreno_ioctl_helper(struct kgsl_device_private *dev_priv,

	if (WARN_ON(_IOC_SIZE(cmds[i].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[i].cmd), sizeof(data));
		return -EINVAL;
	}