From: David Howells Date: Wed, 15 Jun 2011 07:41:36 +0000 (+0200) Subject: batman-adv: count_real_packets() in batman-adv assumes char is signed X-Git-Tag: v3.1-rc1~316^2~412^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b2c44a53836559b5e2823aa215c979c33bc9e2db;p=pandora-kernel.git batman-adv: count_real_packets() in batman-adv assumes char is signed count_real_packets() in batman-adv assumes char is signed, and returns -1 through it: net/batman-adv/routing.c: In function 'receive_bat_packet': net/batman-adv/routing.c:739: warning: comparison is always false due to limited range of data type Use int instead. Signed-off-by: David Howells [sven@narfation.org: Rebase on top of current version] Signed-off-by: Sven Eckelmann --- Reading git-diff-tree failed