From: Jiri Slaby Date: Fri, 15 Feb 2008 20:58:52 +0000 (+0100) Subject: WDEV, ath5k, don't return int from bool function X-Git-Tag: v2.6.25-rc3~9^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b988763857426020e50a19434c8434a1e08e70eb;p=pandora-kernel.git WDEV, ath5k, don't return int from bool function sparse sees int -> bool cast as an error: hw.c:3754:10: warning: cast truncates bits from constant value (ffffffea becomes 0) Fix it by converting the rettype to int and check appropriately. Signed-off-by: Jiri Slaby Cc: Nick Kossifidis Cc: Luis R. Rodriguez Signed-off-by: John W. Linville --- Reading git-diff-tree failed