diff options
| author | Mika Kukkonen <[email protected]> | 2007-07-17 04:04:53 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2007-07-17 10:23:08 -0700 |
| commit | c381bfcf0cd100a37cd969fa0d3aa758e13b5bcc (patch) | |
| tree | 84849928c8c11add3d13bf66e1f64a22698181a4 /include/linux/debugobjects.h | |
| parent | 1269bc69b6649282091bb7007372acf4ab8357fd (diff) | |
Couple fixes to fs/ecryptfs/inode.c
Following was uncovered by compiling the kernel with '-W' flag:
CC [M] fs/ecryptfs/inode.o
fs/ecryptfs/inode.c: In function ‘ecryptfs_lookup’:
fs/ecryptfs/inode.c:304: warning: comparison of unsigned expression < 0 is always false
fs/ecryptfs/inode.c: In function ‘ecryptfs_symlink’:
fs/ecryptfs/inode.c:486: warning: comparison of unsigned expression < 0 is always false
Function ecryptfs_encode_filename() can return -ENOMEM, so change the
variables to plain int, as in the first case the only real use actually
expects int, and in latter case there is no use beoynd the error check.
Signed-off-by: Mika Kukkonen <[email protected]>
Cc: Michael Halcrow <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions