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)
commit462bed4870a813bb3ab33254de70757a92d0dc69
tree87254d559c318d48ae446015a228983089b097ae
parentd922e1cb1ea17ac7f0a5c3c2be98d4bd80d055b8
qlcnic: Correct off-by-one errors in bounds checks

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