atl1[ce]: fix sparse warnings
authorstephen hemminger <shemminger@vyatta.com>
Wed, 23 Feb 2011 09:06:49 +0000 (09:06 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 Feb 2011 22:11:31 +0000 (14:11 -0800)
The dmaw_block is an enum and max_pay_load is u32. Therefore
sparse gives warning about comparison of unsigned and signed value.
Resolve by using min_t to force cast.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found