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

Commit 60129fe9 authored by Yaniv Gardi's avatar Yaniv Gardi
Browse files

scsi: ufs: fix a bug in a UTRD info dump



The bug was a wrong parameter passed to print_hex_dump() function.

Change-Id: I962e08b8c1c8c546f0bc625da3bff292965da8a5
Signed-off-by: default avatarYaniv Gardi <ygardi@codeaurora.org>
parent bfc96c5e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -243,7 +243,7 @@ void ufshcd_print_trs(struct ufs_hba *hba, unsigned long bitmap, bool pr_prdt)

		dev_err(hba->dev, "UPIU[%d] - Transfer Request Descriptor",
				tag);
		ufshcd_hex_dump("UPIU TRD: ", &lrbp->utr_descriptor_ptr,
		ufshcd_hex_dump("UPIU TRD: ", lrbp->utr_descriptor_ptr,
				sizeof(struct utp_transfer_req_desc));
		dev_err(hba->dev, "UPIU[%d] - Request UPIU", tag);
		ufshcd_hex_dump("UPIU REQ: ", lrbp->ucd_req_ptr,