Dan Carpenter
370adc7cb0
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 <error27@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2010-10-08 07:29:57 -07:00
..
2010-10-08 07:29:54 -07:00
2010-09-08 21:15:06 -07:00
2010-10-08 07:29:54 -07:00
2010-10-05 08:50:15 -07:00
2010-10-08 07:29:57 -07:00
2010-09-08 21:15:06 -07:00
2010-09-08 21:15:06 -07:00
2010-09-08 21:15:06 -07:00
2010-09-08 21:15:06 -07:00
2010-10-05 08:50:15 -07:00
2010-09-08 21:15:06 -07:00
2010-10-05 08:50:15 -07:00
2010-09-08 21:15:06 -07:00
2010-09-08 21:15:06 -07:00
2010-09-08 21:15:06 -07:00
2010-09-08 21:15:06 -07:00
2010-09-08 21:15:06 -07:00
2010-10-08 07:29:56 -07:00
2010-10-05 08:50:15 -07:00
2010-10-05 08:50:15 -07:00
2010-10-08 07:29:56 -07:00
2010-09-08 21:15:06 -07:00
2010-09-08 21:15:06 -07:00
2010-09-08 21:15:06 -07:00
2010-09-08 21:15:06 -07:00
2010-09-08 21:15:06 -07:00
2010-09-08 21:15:06 -07:00
2010-09-08 21:15:06 -07:00
2010-09-08 21:15:06 -07:00
2010-09-08 21:15:06 -07:00
2010-09-08 21:15:06 -07:00
2010-09-08 21:15:06 -07:00
2010-10-05 08:50:15 -07:00
2010-10-05 08:50:15 -07:00
2010-09-08 21:15:06 -07:00
2010-09-08 21:15:06 -07:00
2010-10-05 08:50:15 -07:00
2010-10-05 08:50:15 -07:00
2010-09-08 21:15:06 -07:00
2010-10-08 07:29:55 -07:00
2010-10-08 07:23:52 -07:00
2010-10-05 08:50:15 -07:00
2010-10-05 08:50:15 -07:00
2010-09-08 21:15:06 -07:00
2010-09-08 21:15:06 -07:00
2010-09-08 21:15:06 -07:00
2010-10-05 08:50:15 -07:00
2010-10-05 08:50:15 -07:00
2010-09-08 21:15:06 -07:00
2010-09-08 21:15:06 -07:00
2010-10-05 08:50:15 -07:00
2010-10-08 07:29:57 -07:00
2010-09-08 21:15:06 -07:00
2010-09-08 21:15:06 -07:00
2010-09-08 21:15:06 -07:00
2010-09-08 21:15:06 -07:00
2010-10-05 08:50:15 -07:00
2010-09-08 21:15:06 -07:00
2010-09-08 21:15:06 -07:00
2010-09-08 21:15:06 -07:00
2010-09-08 21:15:06 -07:00