Thread (3 messages) flat view 3 messages, 2 authors, 2015-08-13

[PATCH v3 1/4] edac: Add an function to retrieve the EDAC debugfs node

From: Loc Ho <hidden>
Date: 2015-08-13 04:30:58
Also in: linux-devicetree

Hi,
quoted
quoted
EXPORT_SYMBOL_GPL() if it is going to be used by modules.
Better yet, move it to the header.
I can't move it completely to the header and make it static. It will
generate a lot of compiler warning as it isn't used by other modules.
I will add EXPORT_SYMBOL_GPL() in the next version.
Okay... The 'inline' helps with the compiler warning. If I move all to
header file with 'static inline' and wrapper around CONFIG_EDAC_DEBUG,
don't I need to export and declare the variable 'edac_debugfs'? Are
you okay with export this variable? Or, it is static inline if not
defined CONFIG_EDAC_DEBUG. Otherwise, just  an extern header function
and export it as well?

-Loc
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help