summaryrefslogtreecommitdiffstats
path: root/drivers/edac
diff options
context:
space:
mode:
authorKusanagi Kouichi <slash@ac.auone-net.jp>2019-11-21 19:20:21 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-10-01 13:14:28 +0200
commit421ac08d3d5df1eb7a3a6481986714ca2131ff44 (patch)
treecc55b0ca95f3c7b6b830caa1ec4556ec90d302db /drivers/edac
parentdb3ff4f7d7a83dfd63ec4e1c34e387b4e9aa93a6 (diff)
downloadlinux-stable-421ac08d3d5df1eb7a3a6481986714ca2131ff44.tar.gz
linux-stable-421ac08d3d5df1eb7a3a6481986714ca2131ff44.tar.bz2
linux-stable-421ac08d3d5df1eb7a3a6481986714ca2131ff44.zip
debugfs: Fix !DEBUG_FS debugfs_create_automount
[ Upstream commit 4250b047039d324e0ff65267c8beb5bad5052a86 ] If DEBUG_FS=n, compile fails with the following error: kernel/trace/trace.c: In function 'tracing_init_dentry': kernel/trace/trace.c:8658:9: error: passing argument 3 of 'debugfs_create_automount' from incompatible pointer type [-Werror=incompatible-pointer-types] 8658 | trace_automount, NULL); | ^~~~~~~~~~~~~~~ | | | struct vfsmount * (*)(struct dentry *, void *) In file included from kernel/trace/trace.c:24: ./include/linux/debugfs.h:206:25: note: expected 'struct vfsmount * (*)(void *)' but argument is of type 'struct vfsmount * (*)(struct dentry *, void *)' 206 | struct vfsmount *(*f)(void *), | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ Signed-off-by: Kusanagi Kouichi <slash@ac.auone-net.jp> Link: https://lore.kernel.org/r/20191121102021787.MLMY.25002.ppp.dion.ne.jp@dmta0003.auone-net.jp Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/edac')
0 files changed, 0 insertions, 0 deletions