]> git.sur5r.net Git - u-boot/commit
usb: lthor: Specify correct parameter for sizeof type
authorMichal Simek <michal.simek@xilinx.com>
Fri, 30 Oct 2015 15:19:43 +0000 (16:19 +0100)
committerMarek Vasut <marex@denx.de>
Tue, 3 Nov 2015 16:29:54 +0000 (17:29 +0100)
commit32191755d75a28a88ca980c89c1fa15db4920510
tree2d36f1777b7e968c3ed04a8946e64af876de2334
parent01c94c4a6ee73210096c1e363977ef0568675187
usb: lthor: Specify correct parameter for sizeof type

This patch removes this warning:
  CC      drivers/usb/gadget/f_thor.o
drivers/usb/gadget/f_thor.c: In function ‘thor_tx_data’:
drivers/usb/gadget/f_thor.c:572:2: warning: format ‘%d’ expects argument
of type ‘int’, but argument 4 has type ‘long unsigned int’ [-Wformat=]
  debug("%s: dev->in_req->length:%d to_cpy:%d\n", __func__,
  ^

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/usb/gadget/f_thor.c