summaryrefslogtreecommitdiff
path: root/Kbuild
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2017-02-22 11:33:27 +0100
committerFelipe Balbi <felipe.balbi@linux.intel.com>2017-03-06 16:54:29 +0200
commit4242820277b5378c9e4064e79306f326d731472f (patch)
tree2c655e9f987c0568905cff007a4ad8d4f7ec2ebc /Kbuild
parent73561128eb72ca04c3be6e240f162a861bf68a86 (diff)
usb: gadget: udc: atmel: fix debug output
The debug output now contains the wrong variable, as seen from the compiler warning: drivers/usb/gadget/udc/atmel_usba_udc.c: In function 'usba_ep_enable': drivers/usb/gadget/udc/atmel_usba_udc.c:632:550: error: 'ept_cfg' may be used uninitialized in this function [-Werror=maybe-uninitialized] DBG(DBG_ERR, "%s: EPT_CFG = 0x%lx (maxpacket = %lu)\n", This changes the debug output the same way as the other code. Fixes: 741d2558bf0a ("usb: gadget: udc: atmel: Update endpoint allocation scheme") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions