diff options
| author | Helge Deller <[email protected]> | 2008-11-16 23:30:57 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2008-11-16 23:55:36 +0000 |
| commit | 72eb8c6747b49e41fd2b042510f03ac7c13426fc (patch) | |
| tree | 813916b3188d29c1bd3efe604183b9f4e88aaf58 /net/unix/garbage.c | |
| parent | stop_machine: fix race with return value (fixes Bug #11989) (diff) | |
| download | kernel-72eb8c6747b49e41fd2b042510f03ac7c13426fc.tar.gz kernel-72eb8c6747b49e41fd2b042510f03ac7c13426fc.zip | |
unitialized return value in mm/mlock.c: __mlock_vma_pages_range()
Fix an unitialized return value when compiling on parisc (with CONFIG_UNEVICTABLE_LRU=y):
mm/mlock.c: In function `__mlock_vma_pages_range':
mm/mlock.c:165: warning: `ret' might be used uninitialized in this function
Signed-off-by: Helge Deller <[email protected]>
[ It isn't ever really used uninitialized, since no caller should ever
call this function with an empty range. But the compiler is correct
that from a local analysis standpoint that is impossible to see, and
fixing the warning is appropriate. ]
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/unix/garbage.c')
0 files changed, 0 insertions, 0 deletions
