diff options
author | Helge Deller <deller@gmx.de> | 2008-11-17 00:30:57 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-11-16 15:55:36 -0800 |
commit | 72eb8c6747b49e41fd2b042510f03ac7c13426fc (patch) | |
tree | 813916b3188d29c1bd3efe604183b9f4e88aaf58 /drivers/net/8390.h | |
parent | e14c8bf86350f6c39186a139c5c584a6111b2f01 (diff) |
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 <deller@gmx.de>
[ 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 <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/net/8390.h')
0 files changed, 0 insertions, 0 deletions