qlcnic: Correct off-by-one errors in bounds checks
authorManish Chopra <manish.chopra@qlogic.com>
Tue, 28 Jan 2014 16:55:27 +0000 (11:55 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 28 Jan 2014 19:59:30 +0000 (11:59 -0800)
o Bound checks should be >= instead of > for number of receive descriptors
  and number of receive rings.

Signed-off-by: Manish Chopra <manish.chopra@qlogic.com>
Signed-off-by: Jitendra Kalsaria <jitendra.kalsaria@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c