mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] net/9p: include trans_common.h to fix missing prototype warning.
       [not found] <20181113055324.GB5116@nautica>
@ 2018-11-13  6:28 ` Adeodato Simó
  2018-11-13 13:08   ` Dominique Martinet
  0 siblings, 1 reply; 2+ 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	[flat|nested] 2+ messages in thread

* Re: [PATCH] net/9p: include trans_common.h to fix missing prototype warning.
  2018-11-13  6:28 ` [PATCH] net/9p: include trans_common.h to fix missing prototype warning Adeodato Simó
@ 2018-11-13 13:08   ` Dominique Martinet
  0 siblings, 0 replies; 2+ 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] 2+ messages in thread

end of thread, other threads:[~2018-11-13 13:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20181113055324.GB5116@nautica>
2018-11-13  6:28 ` [PATCH] net/9p: include trans_common.h to fix missing prototype warning 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

all inboxes | Powered by JetHome®