cxgb4vf: Fix off-by-one error checking for the end of the mailbox delay array
authorCasey Leedom <leedom@chelsio.com>
Tue, 20 Jul 2010 00:51:46 +0000 (17:51 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Jul 2010 19:42:42 +0000 (12:42 -0700)
commit024e6293f959dc86827284bc1d7c93c8baed1ec6
tree72b3e734cd63e93a38bac3c76d267d0f1e0b64f2
parente7c38157c61649e66f853d7b9f109119b8361448
cxgb4vf: Fix off-by-one error checking for the end of the mailbox delay array

Fix off-by-one error in checking for the end of the mailbox response delay
array.  We ended up walking off the end and, if we were unlucky, we'd end up
pulling in a 0 and never terminate the mailbox response delay loop ...

Signed-off-by: Casey Leedom <leedom@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/cxgb4vf/t4vf_hw.c