commit5096c4d3bfupstream. 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>