summaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2018-12-07 03:52:43 +0000
committerFelipe Balbi <felipe.balbi@linux.intel.com>2018-12-07 07:58:28 +0200
commitf770e3bc236ee954a3b4052bdf55739e26ee25db (patch)
tree6f86b25f6b2dffe9930687926a6b1d888aebf578 /drivers/usb
parent54d48183d21e03f780053d7129312049cb5dd591 (diff)
downloadlinux-stable-f770e3bc236ee954a3b4052bdf55739e26ee25db.tar.gz
linux-stable-f770e3bc236ee954a3b4052bdf55739e26ee25db.tar.bz2
linux-stable-f770e3bc236ee954a3b4052bdf55739e26ee25db.zip
usb: mtu3: fix dbginfo in qmu_tx_zlp_error_handler
Fixes gcc '-Wunused-but-set-variable' warning: drivers/usb/mtu3/mtu3_qmu.c: In function 'qmu_tx_zlp_error_handler': drivers/usb/mtu3/mtu3_qmu.c:385:22: warning: variable 'req' set but not used [-Wunused-but-set-variable] It seems dbginfo original intention is print 'req' other than 'mreq' Acked-by: Chunfeng Yun <chunfeng.yun@mediatek.com> Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/mtu3/mtu3_qmu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/mtu3/mtu3_qmu.c b/drivers/usb/mtu3/mtu3_qmu.c
index 73ac042c45a8..09f19f70fe8f 100644
--- a/drivers/usb/mtu3/mtu3_qmu.c
+++ b/drivers/usb/mtu3/mtu3_qmu.c
@@ -402,7 +402,7 @@ static void qmu_tx_zlp_error_handler(struct mtu3 *mtu, u8 epnum)
return;
}
- dev_dbg(mtu->dev, "%s send ZLP for req=%p\n", __func__, mreq);
+ dev_dbg(mtu->dev, "%s send ZLP for req=%p\n", __func__, req);
mtu3_clrbits(mbase, MU3D_EP_TXCR0(mep->epnum), TX_DMAREQEN);