Messages in this thread | | | From | Arnd Bergmann <> | Subject | Re: [PATCH] RAS: debugfs: add missing header dependencies | Date | Wed, 31 Aug 2016 12:01:53 +0200 |
| |
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@linaro.org> >
Acked-by: Arnd Bergmann <arnd@arndb.de>
| |