From: Linus Torvalds Date: Tue, 6 Jan 2009 02:47:12 +0000 (-0800) Subject: igb: fix anoying type mismatch warning on rx/tx queue sizing X-Git-Tag: v2.6.29-rc1~500 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e42e4ba07bc72c0eb7c7ab3bf9e5076db90d0f37;p=pandora-kernel.git igb: fix anoying type mismatch warning on rx/tx queue sizing When using "min()", the types of both sides should match. With the cpu mask changes, the type of num_online_cpus() will now depend on config options. Use "min_t()" with an explicit type instead. And make the rx/tx case look the same too, just for sanity. Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed