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

Commit c45969de authored by Raviv Shvili's avatar Raviv Shvili
Browse files

scsi: ufs: 64-bit compatibility fixes



Fix debug print to be compatible with 64bit platforms.
The debug print is needed in order to diagnose
customers issues.

Change-Id: I60613faa6772f95257509dae08c52bb5efe664a4
Signed-off-by: default avatarRaviv Shvili <rshvili@codeaurora.org>
parent 360013b1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4578,7 +4578,7 @@ static int ufshcd_query_ioctl(struct ufs_hba *hba, u8 lun, void __user *buffer)

	ioctl_data = kmalloc(sizeof(struct ufs_ioctl_query_data), GFP_KERNEL);
	if (!ioctl_data) {
		dev_err(hba->dev, "%s: Failed allocating %d bytes\n", __func__,
		dev_err(hba->dev, "%s: Failed allocating %zu bytes\n", __func__,
				sizeof(struct ufs_ioctl_query_data));
		err = -ENOMEM;
		goto out;