From: Dan Carpenter Date: Fri, 8 Oct 2010 13:49:04 +0000 (+0200) Subject: Staging: bcm: silence off by one warning X-Git-Tag: v2.6.37-rc1~60^2~3^2~211 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=370adc7cb052a29531b8177d3be770ae9e631bd2;p=pandora-kernel.git Staging: bcm: silence off by one warning "status" is used as an index into the Adapter->PackInfo[] array, which has NO_OF_QUEUES elements. This code actually works OK. The SearchSfid() function always returns a valid index or it returns NO_OF_QUEUES + 1. But it looks sloppy and it makes the static checkers complain. Signed-off-by: Dan Carpenter Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed