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>
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
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
cntrl_SignalingInterface.h
DDRInit.c
DDRInit.h
Debug.c staging/bcm: add sparse annotations 2010-10-05 08:50:15 -07:00
Debug.h
HandleControlPacket.c staging/bcm: add sparse annotations 2010-10-05 08:50:15 -07:00
headers.h
hostmibs.c
HostMibs.h
HostMIBSInterface.h
InterfaceAdapter.h
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
InterfaceIsr.c
InterfaceIsr.h
InterfaceMacros.h
Interfacemain.h
InterfaceMisc.c
InterfaceMisc.h
InterfaceRx.c
InterfaceRx.h
InterfaceTx.c
InterfaceTx.h
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
Kconfig
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
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
Osal_Misc.c
osal_misc.h
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
Protocol.h
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
sort.c
target_params.h
TODO
Transmit.c staging/bcm: fix most build warnings 2010-10-05 08:50:15 -07:00
Typedefs.h
vendorspecificextn.c
vendorspecificextn.h
Version.h