]> 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)
commit8e396206b0dc048fff431f5d64c97cf654e807bb
tree93a0cd529c25bfe6c72f4cec7e93f8a6a28763d9
parent97300611b5be3ef3873b3ca203679c3f4ac3b02b
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