Messages in this thread | | | Date | Tue, 10 Sep 2019 10:39:40 +0200 | From | Borislav Petkov <> | Subject | Re: [PATCH] ras: debugfs: Fix warning: no previous prototype |
| |
On Tue, Sep 10, 2019 at 04:22:19PM +0800, tiantao6 wrote: > fixed the fellow warning when building with warnings enabled (W=1)
"fellow"?
> > drivers/ras/debugfs.c:8:5: warning: no previous prototype for > ‘ras_userspace_consumers’ [-Wmissing-prototypes] > int ras_userspace_consumers(void) > > drivers/ras/debugfs.c:38:12: warning: no previous prototype for > ‘ras_add_daemon_trace’ [-Wmissing-prototypes] > int __init ras_add_daemon_trace(void) > > drivers/ras/debugfs.c:54:13: warning: no previous prototype for > ‘ras_debugfs_init’ [-Wmissing-prototypes] > void __init ras_debugfs_init(void)
https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?h=ras/core&id=0a54b809a3a2c31e1055b45b03708eb730222be1
> > Signed-off-by: tiantao6 <tiantao6@huawei.com>
Also, if you intend to send more patches in the future, please use your real name.
Thx.
-- Regards/Gruss, Boris.
https://people.kernel.org/tglx/notes-about-netiquette
| |