]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
usb: gadget: udc: core: Fix argument of dev_err() in usb_gadget_map_request()
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Mon, 18 Apr 2016 07:53:38 +0000 (16:53 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 1 Jun 2016 19:17:01 +0000 (12:17 -0700)
commit0b5eec3abd40b3df725dc03a5e2aad77a1f71091
tree0e7ef30f832823dae26a06ef591d4702eb91cc7f
parenteebaba39da46bc901d837aa0765509873dd9fbbe
usb: gadget: udc: core: Fix argument of dev_err() in usb_gadget_map_request()

commit 5096c4d3bfa75bdd23c78f799aabd08598afb48f upstream.

The argument of dev_err() in usb_gadget_map_request() should be dev
instead of &gadget->dev.

Fixes: 7ace8fc ("usb: gadget: udc: core: Fix argument of dma_map_single for IOMMU")
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/gadget/udc/udc-core.c