* Re: [V9fs-developer] [PATCH] net/9p: include trans_common.h to fix missing prototype warning.
@ 2018-11-13 5:53 Dominique Martinet
2018-11-13 6:28 ` Adeodato Simó
0 siblings, 1 reply; 3+ messages in thread
From: Dominique Martinet @ 2018-11-13 5:53 UTC (permalink / raw)
To: kernel-janitors
Adeodato Simó wrote on Tue, Nov 13, 2018:
> This silences -Wmissing-prototypes when defining p9_release_pages.
>
> Signed-off-by: Adeodato Simó <dato@net.com.org.es>
> ---
> net/9p/trans_common.c | 1 +
> 1 file changed, 1 insertion(+)
>
> It was suggested in the kernel-janitors mailing list that silencing
> -Wmissing-prototypes would make for a worthy cause.
>
> https://www.spinics.net/lists/linux-kernel-janitors/msg43981.html
>
> Thanks for considering!
Looks harmless enough, and it does belong in that .h as non-static, so
will take it.
If you'll let me be a little bit annoying, could you please resend it
after adding linux-kernel@vger.kernel.org in Cc? (please set the
in-reply-to to your first mail or this one if possible as well)
The point is that neither v9fs-developer or kernel-janitors are archived
in lkml.kernel.org / marc.info so I cannot add a Link: tag to this
e-mail easily; I need some major list Cc'd for these.
Might as well be consistent if we can :)
Thanks!
--
Dominique
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH] net/9p: include trans_common.h to fix missing prototype warning.
2018-11-13 5:53 [V9fs-developer] [PATCH] net/9p: include trans_common.h to fix missing prototype warning Dominique Martinet
@ 2018-11-13 6:28 ` Adeodato Simó
2018-11-13 13:08 ` Dominique Martinet
0 siblings, 1 reply; 3+ messages in thread
From: Adeodato Simó @ 2018-11-13 6:28 UTC (permalink / raw)
To: Dominique Martinet
Cc: Eric Van Hensbergen, v9fs-developer, kernel-janitors,
linux-kernel
This silences -Wmissing-prototypes when defining p9_release_pages.
Signed-off-by: Adeodato Simó <dato@net.com.org.es>
---
net/9p/trans_common.c | 1 +
1 file changed, 1 insertion(+)
It was suggested in the kernel-janitors mailing list that silencing
-Wmissing-prototypes would make for a worthy cause.
https://www.spinics.net/lists/linux-kernel-janitors/msg43981.html
Resending w/ Cc: linux-kernel as requested by Dominique.
diff --git a/net/9p/trans_common.c b/net/9p/trans_common.c
index b718db2085b2..3dff68f05fb9 100644
--- a/net/9p/trans_common.c
+++ b/net/9p/trans_common.c
@@ -14,6 +14,7 @@
#include <linux/mm.h>
#include <linux/module.h>
+#include "trans_common.h"
/**
* p9_release_pages - Release pages after the transaction.
--
2.19.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] net/9p: include trans_common.h to fix missing prototype warning.
2018-11-13 6:28 ` Adeodato Simó
@ 2018-11-13 13:08 ` Dominique Martinet
0 siblings, 0 replies; 3+ messages in thread
From: Dominique Martinet @ 2018-11-13 13:08 UTC (permalink / raw)
To: Adeodato Simó
Cc: Eric Van Hensbergen, v9fs-developer, kernel-janitors,
linux-kernel
Adeodato Simó wrote on Tue, Nov 13, 2018:
> This silences -Wmissing-prototypes when defining p9_release_pages.
>
> Signed-off-by: Adeodato Simó <dato@net.com.org.es>
> ---
> net/9p/trans_common.c | 1 +
> 1 file changed, 1 insertion(+)
>
> It was suggested in the kernel-janitors mailing list that silencing
> -Wmissing-prototypes would make for a worthy cause.
>
> https://www.spinics.net/lists/linux-kernel-janitors/msg43981.html
>
> Resending w/ Cc: linux-kernel as requested by Dominique.
Great, pushed to my for-next branch, it'll probably get in there today
or tomorrow.
Thanks!
--
Dominique
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-11-13 13:08 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-13 5:53 [V9fs-developer] [PATCH] net/9p: include trans_common.h to fix missing prototype warning Dominique Martinet
2018-11-13 6:28 ` Adeodato Simó
2018-11-13 13:08 ` Dominique Martinet
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox