diff options
author | 2019-09-18 22:01:41 +0200 | |
---|---|---|
committer | 2019-10-04 14:35:19 +0200 | |
commit | 792e559e94bc88a281b10568e99fc469fc28a34d (patch) | |
tree | 5091b1fcd69c46c4ad3d9b9147d59a33073186c5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | xhci: Fix NULL pointer dereference in xhci_clear_tt_buffer_complete() (diff) | |
download | linux-dev-792e559e94bc88a281b10568e99fc469fc28a34d.tar.xz linux-dev-792e559e94bc88a281b10568e99fc469fc28a34d.zip |
udc: lpc32xx: fix 64-bit compiler warning
gcc points out a suspicious cast from a pointer to an 'int' when
compile-testing on 64-bit architectures.
drivers/usb/gadget/udc/lpc32xx_udc.c: In function ‘udc_pop_fifo’:
drivers/usb/gadget/udc/lpc32xx_udc.c:1156:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
drivers/usb/gadget/udc/lpc32xx_udc.c: In function ‘udc_stuff_fifo’:
drivers/usb/gadget/udc/lpc32xx_udc.c:1257:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
The code works find, but it's easy enough to change the cast to
a uintptr_t to shut up that warning.
Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20190918200201.2292008-1-arnd@arndb.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions