From: David S. Miller Date: Tue, 28 Jul 2009 01:10:28 +0000 (-0700) Subject: sparc64: Sign extend length arg to truncate syscalls when compat. X-Git-Tag: v2.6.31-rc8~28^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a926d86b29a25456f1dd8c9df938e151b1c3978;p=pandora-kernel.git sparc64: Sign extend length arg to truncate syscalls when compat. The first thing sys_truncate() and sys_ftruncate() do is sign extend the unsigned length arg to a signed type. Thanks to Benjamin Herrenschmidt for the tip. Signed-off-by: David S. Miller --- Reading git-diff-tree failed