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: Sriharsha Allenki <sallenki@codeaurora.org>
This commit is contained in:
Sriharsha Allenki 2019-09-26 19:02:22 +05:30 • committed by Gerrit - the friendly Code Review server
commit ad4fda502b

View file

@ -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,
GFP_KERNEL, dma_attr);
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);
return -ENOMEM;
}