From: Helge Deller Date: Sun, 16 Nov 2008 23:30:57 +0000 (+0100) Subject: unitialized return value in mm/mlock.c: __mlock_vma_pages_range() X-Git-Tag: v2.6.28-rc6~63 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72eb8c6747b49e41fd2b042510f03ac7c13426fc;p=pandora-kernel.git 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 [ 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 --- Reading git-diff-tree failed