lkml.org 
[lkml]   [2017]   [Sep]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH 00/14] Fix wrong %pF and %pS printk format specifier usages
Date
>> 	if (not_a_function_descriptor(ptr))
>> return ptr;
>
> I'm not sure if it's possible on ia64/ppc64/parisc64
> to reliably detect if it's a function descriptor or not.

Agreed. I don't know how to write this test (without changing the compiler to
put the pointers in a separate section ... and then changing the module loader
to keep a list of all these sections).

-Tony
\
 
 \ /
  Last update: 2017-09-07 18:06    [W:0.087 / U:35.772 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site