Skip to content
Commit e42e4ba0 authored by Linus Torvalds's avatar Linus Torvalds
Browse files

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: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 7a1fcd5f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment