]> git.baikalelectronics.ru Git - kernel.git/commit
xilinx usb2 gadget: get rid of incredibly annoying compile warning
authorLinus Torvalds <torvalds@linux-foundation.org>
Wed, 11 Feb 2015 18:52:56 +0000 (10:52 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 11 Feb 2015 18:52:56 +0000 (10:52 -0800)
commit92d258d9b5c25edbae172176d3f6d61a49cdc739
tree93a0cd529c25bfe6c72f4cec7e93f8a6a28763d9
parenta80e191b7ad9a282e79d21a4899605aefcae7ec3
xilinx usb2 gadget: get rid of incredibly annoying compile warning

This one was driving me mad, with several lines of warnings during the
allmodconfig build for a single bogus pointer cast.  The warning was so
verbose due to the indirect macro expansion explanation, and the whole
thing was just for a debug printout.

The bogus pointer-to-integer cast was pointless anyway, so just remove
it, and use '%p' to show the pointer.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/usb/gadget/udc/udc-xilinx.c