Re: [PATCH 4.19 000/211] 4.19.77-stable review

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 ?

If you add b6ff24f7b510 ("RAS: Build debugfs.o only when enabled in
Kconfig") to your tree, does that solve the issue?

This should not be a new thing right?

And is this riscv?

thanks,

greg k-h



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux