summaryrefslogtreecommitdiffstats
path: root/fs/cifs/link.c
diff options
context:
space:
mode:
authorSteve French <sfrench@us.ibm.com>2007-08-31 01:10:17 +0000
committerSteve French <sfrench@us.ibm.com>2007-08-31 01:10:17 +0000
commit77159b4df894f9e5e31f709fb0e5e52f6c1b1048 (patch)
tree75702d1546938f23fbb8ba59285e437078eff1f8 /fs/cifs/link.c
parent26f57364d7cdef9d7ebe27c931fff5e4f21ffb1c (diff)
downloadop-kernel-dev-77159b4df894f9e5e31f709fb0e5e52f6c1b1048.zip
op-kernel-dev-77159b4df894f9e5e31f709fb0e5e52f6c1b1048.tar.gz
[CIFS] Fix warnings shown by newer version of sparse
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/link.c')
-rw-r--r--fs/cifs/link.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/link.c b/fs/cifs/link.c
index 6a85ef7..11f2657 100644
--- a/fs/cifs/link.c
+++ b/fs/cifs/link.c
@@ -237,7 +237,7 @@ cifs_readlink(struct dentry *direntry, char __user *pBuffer, int buflen)
char *tmp_path = NULL;
char *tmpbuffer;
unsigned char *referrals = NULL;
- int num_referrals = 0;
+ unsigned int num_referrals = 0;
int len;
__u16 fid;
OpenPOWER on IntegriCloud