Re: [PATCH v2 18/22] usb: gadget: serial: %pf is only for function pointers
From: Fabio Estevam
Date: Thu Mar 12 2015 - 18:02:48 EST
On Thu, Mar 12, 2015 at 6:46 PM, Scott Wood <scottwood@xxxxxxxxxxxxx> wrote:
> 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).
>
> Signed-off-by: Scott Wood <scottwood@xxxxxxxxxxxxx>
> Cc: linux-usb@xxxxxxxxxxxxxxx
> Cc: Felipe Balbi <balbi@xxxxxx>
> Cc: Fabio Estevam <festevam@xxxxxxxxx>
> CC: Sergei Shtylyov <sergei.shtylyov@xxxxxxxxxxxxxxxxxx>
Reviewed-by: Fabio Estevam <fabio.estevam@xxxxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/