igb: change type for ring sizes to u16 in igb_set_ring_param
authorAlexander Duyck <alexander.h.duyck@intel.com>
Thu, 12 Nov 2009 18:36:41 +0000 (18:36 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 14 Nov 2009 04:46:48 +0000 (20:46 -0800)
commit0e15439ae5fefe438056a26a00aa3c6a9de454e9
treee16c8a9fda2ffb48a9f6c49e9f1f36876617e385
parentddb1417529559810ec2024fd8ca21e4d497a3275
igb: change type for ring sizes to u16 in igb_set_ring_param

Change the type for the ring size values to u16 and use min/max_t instead of
min/max.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/igb/igb_ethtool.c