From: Christian Lamparter Date: Sat, 11 Aug 2012 11:09:20 +0000 (+0200) Subject: p54: fix powerpc gcc warnings X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~47^2~319^2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=22c5649eef0fc37532e20c14d2656b28ca708a69;p=pandora-kernel.git p54: fix powerpc gcc warnings My commit "p54: parse output power table" introduced the following compiler warnings for powerpc-allmodconfig eeprom.c: In function 'p54_get_maxpower': eeprom.c:291 warning: comparison of distinct pointer types lacks a cast eeporm.c:292 warning: comparison of distinct pointer types lacks a cast eeprom.c:293 warning: comparison of distinct pointer types lacks a cast eeprom.c:294 warning: comparison of distinct pointer types lacks a cast This patch fixes those by using max_t(u16 which forces a type cast. Reported-by: Fengguang Wu Tested-by: Fengguang Wu Signed-off-by: Christian Lamparter Signed-off-by: John W. Linville --- Reading git-diff-tree failed