Re: [PATCH 18/22] usb: gadget: serial: %pF is only for function pointers

From: Scott Wood
Date: Thu Mar 12 2015 - 12:44:25 EST

On Thu, 2015-03-12 at 15:36 +0300, Sergei Shtylyov wrote:
> Hello.
> On 3/12/2015 6:13 AM, Scott Wood wrote:
> > Use %pS for actual addresses, otherwise you'll get bad output
> %pS or %ps?
> > on arches like ppc64 where %pF expects a function descriptor.
> %pF or %pf? And what is a function descriptor?

%pS where %pF appeared, and %ps where %pf appeared (yes, I'll fix the
copy-and-paste commit message). A function descriptor is a data
structure used when a function pointer needs to contain more information
than the instruction pointer to branch to, such as a TOC pointer.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at