From: roel kluin Date: Sat, 29 Nov 2008 01:17:27 +0000 (+0000) Subject: powerpc/macintosh: Fix unsigned check in smu_sat_get_sdb_partition() X-Git-Tag: v2.6.29-rc1~574^2~92 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2fd091f3eebc5accefa5f77ff04436982765d15c;p=pandora-kernel.git powerpc/macintosh: Fix unsigned check in smu_sat_get_sdb_partition() i2c_smbus_read_word_data() returns a s32, which may be negative but unsigned len cannot be negative. Signed-off-by: Roel Kluin Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed