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

Commit ad4fda50 authored by Sriharsha Allenki's avatar Sriharsha Allenki Committed by Gerrit - the friendly Code Review server
Browse files

usb: dwc3: Remove extra format specifier



Correct number of arguments are not passed to the dev_dbg
call here. This is leading to access of garbage value.
Fix this by removing the extra format specifier in the
string.

Change-Id: Id64a00c1ca44c5ee2014fd806c234f702a7941f6
Signed-off-by: default avatarSriharsha Allenki <sallenki@codeaurora.org>
parent 43ee8667
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -1382,7 +1382,7 @@ static int gsi_prepare_trbs(struct usb_ep *ep, struct usb_gsi_request *req)
	req->buf_base_addr = dma_alloc_attrs(dwc->sysdev, len, &req->dma,
	req->buf_base_addr = dma_alloc_attrs(dwc->sysdev, len, &req->dma,
					GFP_KERNEL, dma_attr);
					GFP_KERNEL, dma_attr);
	if (!req->buf_base_addr) {
	if (!req->buf_base_addr) {
		dev_err(dwc->dev, "%s: buf_base_addr allocate failed %s\n",
		dev_err(dwc->dev, "buf_base_addr allocate failed %s\n",
				dep->name);
				dep->name);
		return -ENOMEM;
		return -ENOMEM;
	}
	}