From: Thomas Gleixner Date: Thu, 7 Dec 2006 04:37:38 +0000 (-0800) Subject: [PATCH] ktime: Fix signed / unsigned mismatch in ktime_to_ns X-Git-Tag: v2.6.20-rc1~145^2^2~152 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cfd1893477fa94bb0915e39afa2f044ac978b5c6;p=pandora-kernel.git [PATCH] ktime: Fix signed / unsigned mismatch in ktime_to_ns The 32 bit implementation of ktime_to_ns returns unsigned value, while the 64 bit version correctly returns an signed value. There is no current user affected by this, but it has to be fixed, as ktime values can be negative. Pointed-out-by: Helmut Duregger Signed-off-by: Thomas Gleixner Acked-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed