diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-01-05 18:47:12 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-01-05 18:47:12 -0800 |
commit | e42e4ba07bc72c0eb7c7ab3bf9e5076db90d0f37 (patch) | |
tree | f3eec0c563da05c2f0de3463edd45735c9c2f3c7 /net | |
parent | 7a1fcd5f5130f173b5e824135735ec58f245563e (diff) | |
download | linux-3.10-e42e4ba07bc72c0eb7c7ab3bf9e5076db90d0f37.tar.gz linux-3.10-e42e4ba07bc72c0eb7c7ab3bf9e5076db90d0f37.tar.bz2 linux-3.10-e42e4ba07bc72c0eb7c7ab3bf9e5076db90d0f37.zip |
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 <torvalds@linux-foundation.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions