From: Andrew Morton Date: Thu, 28 May 2015 22:44:24 +0000 (-0700) Subject: fs/binfmt_elf.c:load_elf_binary(): return -EINVAL on zero-length mappings X-Git-Tag: omap-for-v4.2/wakeirq-drivers-v2^2~2^2~40^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2b1d3ae940acd11be44c6eced5873d47c2e00ffa;p=pandora-kernel.git fs/binfmt_elf.c:load_elf_binary(): return -EINVAL on zero-length mappings load_elf_binary() returns `retval', not `error'. Fixes: a87938b2e246b81b4fb ("fs/binfmt_elf.c: fix bug in loading of PIE binaries") Reported-by: James Hogan Cc: Michael Davidson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed