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)
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