summaryrefslogtreecommitdiffstats
path: root/fs/cifs/link.c
diff options
context:
space:
mode:
authorSteve French2007-08-31 03:10:17 +0200
committerSteve French2007-08-31 03:10:17 +0200
commit77159b4df894f9e5e31f709fb0e5e52f6c1b1048 (patch)
tree75702d1546938f23fbb8ba59285e437078eff1f8 /fs/cifs/link.c
parent[CIFS] formatting cleanup found by checkpatch (diff)
downloadkernel-qcow2-linux-77159b4df894f9e5e31f709fb0e5e52f6c1b1048.tar.gz
kernel-qcow2-linux-77159b4df894f9e5e31f709fb0e5e52f6c1b1048.tar.xz
kernel-qcow2-linux-77159b4df894f9e5e31f709fb0e5e52f6c1b1048.zip
[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 6a85ef7b8797..11f265726db7 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;