summaryrefslogtreecommitdiff
path: root/fs/cifs
diff options
context:
space:
mode:
authorSteve French <stfrench@microsoft.com>2020-12-12 12:49:28 -0600
committerSteve French <stfrench@microsoft.com>2020-12-14 09:16:23 -0600
commitee0dce4926b95c3c96217c076550216eb6dcd90b (patch)
tree3c0559614f1876feb49786cbfd6d92b1d1600a8b /fs/cifs
parent607dfc79c37a0eb1320485ae9336aba0fd8b7723 (diff)
cifs: remove some minor warnings pointed out by kernel test robot
Correct some trivial warnings caused when new file unc.c was created. For example: In file included from fs/cifs/unc.c:11: >> fs/cifs/cifsproto.h:44:28: warning: 'struct TCP_Server_Info' declared inside parameter list will not be visible outside of this definition or declaration 44 | extern int smb_send(struct TCP_Server_Info *, struct smb_hdr *, Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/cifs')
-rw-r--r--fs/cifs/unc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/cifs/unc.c b/fs/cifs/unc.c
index 2c5665f5543a..394aa00cea40 100644
--- a/fs/cifs/unc.c
+++ b/fs/cifs/unc.c
@@ -7,7 +7,11 @@
* Jeff Layton <jlayton@kernel.org>
*/
+#include <linux/fs.h>
#include <linux/slab.h>
+#include <linux/inet.h>
+#include <linux/ctype.h>
+#include "cifsglob.h"
#include "cifsproto.h"
/* extract the host portion of the UNC string */