Re: [PATCH] procfs: use inline functions instead of macros for proc_create_single_data stub

2018-05-29 Thread Boris Brezillon
On Fri, 25 May 2018 23:45:00 +0200 Arnd Bergmann wrote: > The procfs interface changes caused one warning in afs for > a now unused function: > > fs/afs/proc.c:818:12: error: 'afs_proc_stats_show' defined but not used > [-Werror=unused-function] > static int afs_proc_stats_show(struct

Re: [PATCH] procfs: use inline functions instead of macros for proc_create_single_data stub

2018-05-29 Thread Boris Brezillon
On Fri, 25 May 2018 23:45:00 +0200 Arnd Bergmann wrote: > The procfs interface changes caused one warning in afs for > a now unused function: > > fs/afs/proc.c:818:12: error: 'afs_proc_stats_show' defined but not used > [-Werror=unused-function] > static int afs_proc_stats_show(struct

Re: [PATCH] procfs: use inline functions instead of macros for proc_create_single_data stub

2018-05-26 Thread Christoph Hellwig
Looks fine: Reviewed-by: Christoph Hellwig

Re: [PATCH] procfs: use inline functions instead of macros for proc_create_single_data stub

2018-05-26 Thread Christoph Hellwig
Looks fine: Reviewed-by: Christoph Hellwig

[PATCH] procfs: use inline functions instead of macros for proc_create_single_data stub

2018-05-25 Thread Arnd Bergmann
The procfs interface changes caused one warning in afs for a now unused function: fs/afs/proc.c:818:12: error: 'afs_proc_stats_show' defined but not used [-Werror=unused-function] static int afs_proc_stats_show(struct seq_file *m, void *v) This can be avoided by using an inline function

[PATCH] procfs: use inline functions instead of macros for proc_create_single_data stub

2018-05-25 Thread Arnd Bergmann
The procfs interface changes caused one warning in afs for a now unused function: fs/afs/proc.c:818:12: error: 'afs_proc_stats_show' defined but not used [-Werror=unused-function] static int afs_proc_stats_show(struct seq_file *m, void *v) This can be avoided by using an inline function