From: Andres Salomon Date: Fri, 12 Nov 2010 06:42:06 +0000 (-0800) Subject: sparc: explicitly cast negative phandle checks to s32 X-Git-Tag: v2.6.38-rc1~431^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4a3a255289e7e322b8044286cce85031990f888a;p=pandora-kernel.git sparc: explicitly cast negative phandle checks to s32 When we switched sparc from using 'int's to 'phandle's (which is a u32), we neglected to do anything with the various checks for -1. For those tests, explicitly cast the phandles to s32. Signed-off-by: Andres Salomon Acked-by: David S. Miller Signed-off-by: Grant Likely --- Reading git-diff-tree failed