lkml.org 
[lkml]   [2015]   [Mar]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 18/22] usb: gadget: serial: %pF is only for function pointers
From
On Thu, Mar 12, 2015 at 1:40 PM, Scott Wood <scottwood@freescale.com> wrote:

> No. __builtin_return_address() returns a pointer to an instruction, not
> a function pointer descriptor. If you use %pF on the former, it'll
> print instruction opcodes as if they were the address.

Then you should mention this in the commit log.


\
 
 \ /
  Last update: 2015-03-12 18:01    [W:0.163 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site