summaryrefslogtreecommitdiffstats
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2018-03-13 14:03:44 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-03-14 12:56:15 +0100
commit7a76eaf41a545fad34f17ea36da41b5e7df38616 (patch)
tree32459c4eb914fd4ef06b1514347e7a15ab2e6d46 /include/linux/debugobjects.h
parent6761f0ac6649002890827e39cb541df6b71ec617 (diff)
downloadcachepc-linux-7a76eaf41a545fad34f17ea36da41b5e7df38616.tar.gz
cachepc-linux-7a76eaf41a545fad34f17ea36da41b5e7df38616.zip
staging: lustre: use module_name() macro for debug printf
We now allow lustre to be built when CONFIG_MODULES is disabled, but that causes a build failure: In file included from drivers/staging/lustre/include/linux/libcfs/libcfs.h:42, from drivers/staging/lustre/lustre/obdclass/lu_object.c:44: drivers/staging/lustre/lustre/obdclass/lu_object.c: In function 'lu_context_key_degister': drivers/staging/lustre/lustre/obdclass/lu_object.c:1410:51: error: dereferencing pointer to incomplete type 'struct module' This particular case can be avoided by using the module_name() macro that was designed exactly to handle printing the name of a module in all configurations. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Reviewed-by: NeilBrown <neilb@suse.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions