[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20191022131953.31991-1-ben.dooks@codethink.co.uk>
Date: Tue, 22 Oct 2019 14:19:53 +0100
From: "Ben Dooks (Codethink)" <ben.dooks@...ethink.co.uk>
To: linux-kernel@...ts.codethink.co.uk
Cc: "Ben Dooks (Codethink)" <ben.dooks@...ethink.co.uk>,
Jan Harkes <jaharkes@...cmu.edu>, coda@...cmu.edu,
codalist@...a.cs.cmu.edu, linux-kernel@...r.kernel.org
Subject: [PATCH] coda: include coda_int.h for 'coda_fake_statfs' declaration
The coda_fake_statfs is declared in coda_int.h, so include
this in coda_linux.c where it is defined. This removes the
following sparse warning:
fs/coda/coda_linux.c:25:5: warning: symbol 'coda_fake_statfs' was not declared. Should it be static?
Signed-off-by: Ben Dooks (Codethink) <ben.dooks@...ethink.co.uk>
---
Cc: Jan Harkes <jaharkes@...cmu.edu>
Cc: coda@...cmu.edu
Cc: codalist@...a.cs.cmu.edu
Cc: linux-kernel@...r.kernel.org
---
fs/coda/coda_linux.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/fs/coda/coda_linux.c b/fs/coda/coda_linux.c
index 2e1a5a192074..229f7a0949ab 100644
--- a/fs/coda/coda_linux.c
+++ b/fs/coda/coda_linux.c
@@ -20,6 +20,7 @@
#include <linux/coda.h>
#include "coda_psdev.h"
#include "coda_linux.h"
+#include "coda_int.h"
/* initialize the debugging variables */
int coda_fake_statfs;
--
2.23.0
Powered by blists - more mailing lists