aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorKusanagi Kouichi <[email protected]>2019-11-21 10:20:21 +0000
committerGreg Kroah-Hartman <[email protected]>2019-11-21 13:28:32 +0000
commit4250b047039d324e0ff65267c8beb5bad5052a86 (patch)
tree2949d3a04e65cd73fbf29e94420981d81dcedaf7 /net/unix/af_unix.c
parentof: property: Add device link support for "iommu-map" (diff)
downloadkernel-4250b047039d324e0ff65267c8beb5bad5052a86.tar.gz
kernel-4250b047039d324e0ff65267c8beb5bad5052a86.zip
debugfs: Fix !DEBUG_FS debugfs_create_automount
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 <[email protected]> Link: https://lore.kernel.org/r/20191121102021787.MLMY.25002.ppp.dion.ne.jp@dmta0003.auone-net.jp Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions