From: David S. Miller Date: Wed, 28 Oct 2009 10:38:54 +0000 (-0700) Subject: igb: Fix warnings in igb_set_ringparam() X-Git-Tag: v2.6.33-rc1~388^2~646 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d6b9076f1b5dd22b63f0178923f420f4e0f81a8d;p=pandora-kernel.git igb: Fix warnings in igb_set_ringparam() drivers/net/igb/igb_ethtool.c: In function ‘igb_set_ringparam’: drivers/net/igb/igb_ethtool.c:744: warning: comparison of distinct pointer types lacks a cast drivers/net/igb/igb_ethtool.c:748: warning: comparison of distinct pointer types lacks a cast Casts were to u16 on the constant, but the type of new_{r,t}x_count is u32. Cast to u32 instead. Signed-off-by: David S. Miller --- Reading git-diff-tree failed