]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
usb: gadget: serial: %pf is only for function pointers
authorScott Wood <scottwood@freescale.com>
Thu, 12 Mar 2015 21:46:01 +0000 (16:46 -0500)
committerFelipe Balbi <balbi@ti.com>
Fri, 13 Mar 2015 15:37:30 +0000 (10:37 -0500)
commit16d9efa4b3db0ab69605ff4d03d707d0210f4bf7
tree575649a2a9cf6e8eb13f077c74926a6b4dcacf79
parente39af88f18dfe9a7938765c97ce9ed448915e6d5
usb: gadget: serial: %pf is only for function pointers

Use %ps for actual addresses, otherwise you'll get bad output
on arches like ppc64 where %pf expects a function descriptor
(which is not what __builtin_return_address returns).

Reviewed-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
Cc: linux-usb@vger.kernel.org
CC: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/function/u_serial.c