summaryrefslogtreecommitdiffstats
path: root/drivers/net/designware.h
diff options
context:
space:
mode:
authorPrabhakar Kushwaha <prabhakar@freescale.com>2015-10-25 13:18:41 +0530
committerTom Rini <trini@konsulko.com>2015-11-12 15:59:00 -0500
commitb30dc5792d17b339058eecb0185a072ff16c3b05 (patch)
tree9c2ea073c7794c705f541b8e05febd23d5c620f7 /drivers/net/designware.h
parent41f7be3c78e793535e484e5f5010cc98410598de (diff)
downloadblackbird-obmc-uboot-b30dc5792d17b339058eecb0185a072ff16c3b05.tar.gz
blackbird-obmc-uboot-b30dc5792d17b339058eecb0185a072ff16c3b05.zip
driver: usb: Fix pointer conversion warnings for hikey
Fix below compilation warings happening for hikey_defconfig drivers/usb/eth/smsc95xx.c:698:56: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] debug("** %s(), len %d, buf %#x\n", __func__, length, (int)msg); ^ include/common.h:109:26: note: in definition of macro ‘debug_cond’ printf(pr_fmt(fmt), ##args); \ ^ drivers/usb/eth/smsc95xx.c:698:2: note: in expansion of macro ‘debug’ debug("** %s(), len %d, buf %#x\n", __func__, length, (int)msg); ^ drivers/usb/eth/smsc95xx.c:718:2: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long unsigned int’ [-Wformat=] debug("Tx: len = %u, actual = %u, err = %d\n", ^ drivers/usb/eth/smsc95xx.c: In function ‘smsc95xx_recv’: drivers/usb/eth/smsc95xx.c:802:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] cur_buf_align = (int)buf_ptr - (int)recv_buf; ^ drivers/usb/eth/smsc95xx.c:802:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] cur_buf_align = (int)buf_ptr - (int)recv_buf; Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com>
Diffstat (limited to 'drivers/net/designware.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud