Re: [PATCH] RAS: debugfs: add missing header dependencies

From: Arnd Bergmann
Date: Wed Aug 31 2016 - 06:08:38 EST


On Wednesday, August 31, 2016 5:13:26 PM CEST Baoyou Xie wrote:
> We get 3 warnings when building kernel with W=1:
> drivers/ras/debugfs.c:8:5: warning: no previous prototype for 'ras_userspace_consumers' [-Wmissing-prototypes]
> drivers/ras/debugfs.c:38:12: warning: no previous prototype for 'ras_add_daemon_trace' [-Wmissing-prototypes]
> drivers/ras/debugfs.c:54:13: warning: no previous prototype for 'ras_debugfs_init' [-Wmissing-prototypes]
>
> In fact, these functions are declared in include/linux/ras.h,
> so this patch adds missing header dependencies.
>
> Signed-off-by: Baoyou Xie <baoyou.xie@xxxxxxxxxx>
>

Acked-by: Arnd Bergmann <arnd@xxxxxxxx>