Commit ee0dce49 authored by Steve French's avatar Steve French

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: default avatarkernel test robot <lkp@intel.com>
Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
parent 607dfc79
...@@ -7,7 +7,11 @@ ...@@ -7,7 +7,11 @@
* Jeff Layton <jlayton@kernel.org> * Jeff Layton <jlayton@kernel.org>
*/ */
#include <linux/fs.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/inet.h>
#include <linux/ctype.h>
#include "cifsglob.h"
#include "cifsproto.h" #include "cifsproto.h"
/* extract the host portion of the UNC string */ /* extract the host portion of the UNC string */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment