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

Commit c18800ef authored by Anant Goel's avatar Anant Goel Committed by Gerrit - the friendly Code Review server
Browse files

usb: dwc3: debug: Fix formatting errors for ipc_log_string



This patch changes '%lx' to '%llx' to match the data type.

Change-Id: I2e3a4794b895451ec00121dea347febefba704c5
Signed-off-by: default avatarAnant Goel <anantg@codeaurora.org>
parent d791c619
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -151,7 +151,7 @@ void dwc3_dbg_dma_unmap(struct dwc3 *dwc, u8 ep_num, struct dwc3_request *req)
		return;

	ipc_log_string(dwc->dwc_dma_ipc_log_ctxt,
		"%02X-%-3.3s %-25.25s 0x%pK 0x%lx %u 0x%lx %d", ep_num >> 1,
		"%02X-%-3.3s %-25.25s 0x%pK 0x%llx %u 0x%llx %d", ep_num >> 1,
		ep_num & 1 ? "IN":"OUT", "UNMAP", &req->request,
		req->request.dma, req->request.length, req->trb_dma,
		req->trb->ctrl & DWC3_TRB_CTRL_HWO);
@@ -163,7 +163,7 @@ void dwc3_dbg_dma_map(struct dwc3 *dwc, u8 ep_num, struct dwc3_request *req)
		return;

	ipc_log_string(dwc->dwc_dma_ipc_log_ctxt,
		"%02X-%-3.3s %-25.25s 0x%pK 0x%lx %u 0x%lx", ep_num >> 1,
		"%02X-%-3.3s %-25.25s 0x%pK 0x%llx %u 0x%llx", ep_num >> 1,
		ep_num & 1 ? "IN":"OUT", "MAP", &req->request, req->request.dma,
		req->request.length, req->trb_dma);
}
@@ -174,7 +174,7 @@ void dwc3_dbg_dma_dequeue(struct dwc3 *dwc, u8 ep_num, struct dwc3_request *req)
		return;

	ipc_log_string(dwc->dwc_dma_ipc_log_ctxt,
		"%02X-%-3.3s %-25.25s 0x%pK 0x%lx 0x%lx", ep_num >> 1,
		"%02X-%-3.3s %-25.25s 0x%pK 0x%llx 0x%llx", ep_num >> 1,
		ep_num & 1 ? "IN":"OUT", "DEQUEUE", &req->request,
		req->request.dma, req->trb_dma);
}