From: Dan Carpenter Date: Mon, 3 Jan 2011 05:46:29 +0000 (+0300) Subject: ath5k: ath5k_eeprom_mode_from_channel() returns signed X-Git-Tag: v2.6.38-rc1~476^2~14^2~3^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a8851d10aadb46b25db4459aa0d1150c957d2bc1;p=pandora-kernel.git ath5k: ath5k_eeprom_mode_from_channel() returns signed ath5k_eeprom_mode_from_channel() returns -1 on error but we're storing the result in "ee_mode" which is an unsigned char. This breaks the error handling. This patch makes "ee_mode" an int. Signed-off-by: Dan Carpenter Signed-off-by: John W. Linville --- Reading git-diff-tree failed