From: Jan Beulich Date: Tue, 30 Jun 2009 11:01:57 +0000 (+0100) Subject: [IA64] address compiler warnings perfmon.c/salinfo.c X-Git-Tag: v2.6.31-rc2~31^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fa276f36f3d8743295e067fb483b42dca8bd1ece;p=pandora-kernel.git [IA64] address compiler warnings perfmon.c/salinfo.c perfmon.c has a dubious cast directly from "int" to "void *". Add an intermediate cast to "long" to keep gcc happy. salinfo.c uses "down_trylock()" in a highly creative way (explained in the comments in the file) ... but it does kick out this warning: arch/ia64/kernel/salinfo.c:195: warning: ignoring return value of 'down_trylock' which people occasionally try to "fix" in ways that do not work. Use some casts to keep gcc quiet. Signed-off-by: Jan Beulich Signed-off-by: Tony Luck --- Reading git-diff-tree failed