diff options
author | Steve French <sfrench@us.ibm.com> | 2007-08-30 21:10:17 -0400 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2007-08-30 21:10:17 -0400 |
commit | 77159b4df894f9e5e31f709fb0e5e52f6c1b1048 (patch) | |
tree | 75702d1546938f23fbb8ba59285e437078eff1f8 /fs/cifs/dir.c | |
parent | 26f57364d7cdef9d7ebe27c931fff5e4f21ffb1c (diff) |
[CIFS] Fix warnings shown by newer version of sparse
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/dir.c')
-rw-r--r-- | fs/cifs/dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/dir.c b/fs/cifs/dir.c index 4830acc86d7..db5287abc30 100644 --- a/fs/cifs/dir.c +++ b/fs/cifs/dir.c | |||
@@ -397,7 +397,7 @@ int cifs_mknod(struct inode *inode, struct dentry *direntry, int mode, | |||
397 | /* BB Do not bother to decode buf since no | 397 | /* BB Do not bother to decode buf since no |
398 | local inode yet to put timestamps in, | 398 | local inode yet to put timestamps in, |
399 | but we can reuse it safely */ | 399 | but we can reuse it safely */ |
400 | int bytes_written; | 400 | unsigned int bytes_written; |
401 | struct win_dev *pdev; | 401 | struct win_dev *pdev; |
402 | pdev = (struct win_dev *)buf; | 402 | pdev = (struct win_dev *)buf; |
403 | if (S_ISCHR(mode)) { | 403 | if (S_ISCHR(mode)) { |