[PATCH] cxl: fix build when CONFIG_DEBUG_FS=n

Michael Ellerman mpe at ellerman.id.au
Wed Feb 1 13:20:19 AEDT 2017

Andrew Donnellan <andrew.donnellan at au1.ibm.com> writes:

> Stub out the debugfs functions so that the build doesn't break when

It's not a big deal, but it's preferable to do the stubs as static
inlines in a header. That way they generate no code.

Doing it this way, in a C file, you'll still get lots of one and two
instruction functions generated in your vmlinux, which is less neat.


More information about the Linuxppc-dev mailing list