diff options
author | Dan Carpenter <error27@gmail.com> | 2011-01-03 08:46:29 +0300 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-01-04 14:46:13 -0500 |
commit | a8851d10aadb46b25db4459aa0d1150c957d2bc1 (patch) | |
tree | e40710cddea3ff5c328141e57a6287b3b541d4f0 /Documentation/flexible-arrays.txt | |
parent | 2ae79d52cdac733037490486792a53de9fb8d6b6 (diff) |
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 <error27@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'Documentation/flexible-arrays.txt')
0 files changed, 0 insertions, 0 deletions