linux/drivers/staging/bcm
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>
History 2010-10-08 07:29:57 -07:00
..
Adapter.h Staging: bcm: make major and minor signed 2010-10-08 07:29:54 -07:00
Arp.c staging: Beeceem USB Wimax driver 2010-09-08 21:15:06 -07:00
Bcmchar.c Staging: bcm: return -EFAULT on copy_to_user() failures 2010-10-08 07:29:54 -07:00
Bcmnet.c staging/bcm: add sparse annotations 2010-10-05 08:50:15 -07:00
CmHost.c Staging: bcm: silence off by one warning 2010-10-08 07:29:57 -07:00
CmHost.h staging: Beeceem USB Wimax driver 2010-09-08 21:15:06 -07:00
cntrl_SignalingInterface.h staging: Beeceem USB Wimax driver 2010-09-08 21:15:06 -07:00
DDRInit.c staging: Beeceem USB Wimax driver 2010-09-08 21:15:06 -07:00
DDRInit.h staging: Beeceem USB Wimax driver 2010-09-08 21:15:06 -07:00
Debug.c staging/bcm: add sparse annotations 2010-10-05 08:50:15 -07:00
Debug.h staging: Beeceem USB Wimax driver 2010-09-08 21:15:06 -07:00
HandleControlPacket.c staging/bcm: add sparse annotations 2010-10-05 08:50:15 -07:00
headers.h staging: Beeceem USB Wimax driver 2010-09-08 21:15:06 -07:00
hostmibs.c staging: Beeceem USB Wimax driver 2010-09-08 21:15:06 -07:00
HostMibs.h staging: Beeceem USB Wimax driver 2010-09-08 21:15:06 -07:00
HostMIBSInterface.h staging: Beeceem USB Wimax driver 2010-09-08 21:15:06 -07:00
InterfaceAdapter.h staging: Beeceem USB Wimax driver 2010-09-08 21:15:06 -07:00
InterfaceDld.c Staging: bcm: return -EFAULT on copy_to_user() errors 2010-10-08 07:29:56 -07:00
InterfaceIdleMode.c staging/bcm: add sparse annotations 2010-10-05 08:50:15 -07:00
InterfaceIdleMode.h staging/bcm: add sparse annotations 2010-10-05 08:50:15 -07:00
InterfaceInit.c Staging: bcm: remove unneeded NULL check 2010-10-08 07:29:56 -07:00
InterfaceInit.h staging: Beeceem USB Wimax driver 2010-09-08 21:15:06 -07:00
InterfaceIsr.c staging: Beeceem USB Wimax driver 2010-09-08 21:15:06 -07:00
InterfaceIsr.h staging: Beeceem USB Wimax driver 2010-09-08 21:15:06 -07:00
InterfaceMacros.h staging: Beeceem USB Wimax driver 2010-09-08 21:15:06 -07:00
Interfacemain.h staging: Beeceem USB Wimax driver 2010-09-08 21:15:06 -07:00
InterfaceMisc.c staging: Beeceem USB Wimax driver 2010-09-08 21:15:06 -07:00
InterfaceMisc.h staging: Beeceem USB Wimax driver 2010-09-08 21:15:06 -07:00
InterfaceRx.c staging: Beeceem USB Wimax driver 2010-09-08 21:15:06 -07:00
InterfaceRx.h staging: Beeceem USB Wimax driver 2010-09-08 21:15:06 -07:00
InterfaceTx.c staging: Beeceem USB Wimax driver 2010-09-08 21:15:06 -07:00
InterfaceTx.h staging: Beeceem USB Wimax driver 2010-09-08 21:15:06 -07:00
Ioctl.h staging/bcm: add sparse annotations 2010-10-05 08:50:15 -07:00
IPv6Protocol.c staging/bcm: add sparse annotations 2010-10-05 08:50:15 -07:00
IPv6ProtocolHdr.h staging: Beeceem USB Wimax driver 2010-09-08 21:15:06 -07:00
Kconfig staging: Beeceem USB Wimax driver 2010-09-08 21:15:06 -07:00
LeakyBucket.c staging/bcm: add sparse annotations 2010-10-05 08:50:15 -07:00
led_control.c staging/bcm: add sparse annotations 2010-10-05 08:50:15 -07:00
led_control.h staging: Beeceem USB Wimax driver 2010-09-08 21:15:06 -07:00
Macros.h Staging: bcm: mocro expansion bug 2010-10-08 07:29:55 -07:00
Makefile Staging: bcm: Makefile: replace the use of <module>-objs with <module>-y 2010-10-08 07:23:52 -07:00
Misc.c staging/bcm: add sparse annotations 2010-10-05 08:50:15 -07:00
nvm.c staging/bcm: add sparse annotations 2010-10-05 08:50:15 -07:00
nvm.h staging: Beeceem USB Wimax driver 2010-09-08 21:15:06 -07:00
Osal_Misc.c staging: Beeceem USB Wimax driver 2010-09-08 21:15:06 -07:00
osal_misc.h staging: Beeceem USB Wimax driver 2010-09-08 21:15:06 -07:00
PHSDefines.h staging/bcm: fix most build warnings 2010-10-05 08:50:15 -07:00
PHSModule.c staging/bcm: add sparse annotations 2010-10-05 08:50:15 -07:00
PHSModule.h staging: Beeceem USB Wimax driver 2010-09-08 21:15:06 -07:00
Protocol.h staging: Beeceem USB Wimax driver 2010-09-08 21:15:06 -07:00
Prototypes.h staging/bcm: add sparse annotations 2010-10-05 08:50:15 -07:00
Qos.c Staging: bcm: silence off by one warning 2010-10-08 07:29:57 -07:00
Queue.h staging: Beeceem USB Wimax driver 2010-09-08 21:15:06 -07:00
sort.c staging: Beeceem USB Wimax driver 2010-09-08 21:15:06 -07:00
target_params.h staging: Beeceem USB Wimax driver 2010-09-08 21:15:06 -07:00
TODO staging: Beeceem USB Wimax driver 2010-09-08 21:15:06 -07:00
Transmit.c staging/bcm: fix most build warnings 2010-10-05 08:50:15 -07:00
Typedefs.h staging: Beeceem USB Wimax driver 2010-09-08 21:15:06 -07:00
vendorspecificextn.c staging: Beeceem USB Wimax driver 2010-09-08 21:15:06 -07:00
vendorspecificextn.h staging: Beeceem USB Wimax driver 2010-09-08 21:15:06 -07:00
Version.h staging: Beeceem USB Wimax driver 2010-09-08 21:15:06 -07:00