On Thu, Oct 03, 2019 at 09:02:23PM +0200, François Valenduc wrote: > This does not compile. I get this error: > > CC drivers/ras/debugfs.o > drivers/ras/debugfs.c:9:5: error: redefinition of 'ras_userspace_consumers' > int ras_userspace_consumers(void) > ^~~~~~~~~~~~~~~~~~~~~~~ > In file included from drivers/ras/debugfs.c:2: > ./include/linux/ras.h:14:19: note: previous definition of > 'ras_userspace_consumers' was here > static inline int ras_userspace_consumers(void) { return 0; } > ^~~~~~~~~~~~~~~~~~~~~~~ > drivers/ras/debugfs.c:39:12: error: redefinition of 'ras_add_daemon_trace' > int __init ras_add_daemon_trace(void) > ^~~~~~~~~~~~~~~~~~~~ > In file included from drivers/ras/debugfs.c:2: > ./include/linux/ras.h:16:19: note: previous definition of > 'ras_add_daemon_trace' was here > static inline int ras_add_daemon_trace(void) { return 0; } > ^~~~~~~~~~~~~~~~~~~~ > drivers/ras/debugfs.c:55:13: error: redefinition of 'ras_debugfs_init' > void __init ras_debugfs_init(void) > ^~~~~~~~~~~~~~~~ > In file included from drivers/ras/debugfs.c:2: > ./include/linux/ras.h:15:20: note: previous definition of > 'ras_debugfs_init' was here > static inline void ras_debugfs_init(void) { } > ^~~~~~~~~~~~~~~~ > make[2]: *** [scripts/Makefile.build:304: drivers/ras/debugfs.o] Error 1 > make[1]: *** [scripts/Makefile.build:544: drivers/ras] Error 2 > make: *** [Makefile:1046: drivers] Error 2 > zsh: exit 2 LANG="C" make > > > Does somebody have an idea about this ? Do you have a .config that causes this? thanks, greg k-h