[PATCH] net/9p: include trans_common.h to fix missing prototype warning.

From: Adeodato SimÃ
Date: Tue Nov 13 2018 - 01:35:25 EST


This silences -Wmissing-prototypes when defining p9_release_pages.

Signed-off-by: Adeodato Simà <dato@xxxxxxxxxxxxxx>
---
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